Nokia N97 SDK
Example Applications Guide

DynamicSettingListDocument.cpp

00001 /*
00002 * ============================================================================
00003 *  Name     : CDynamicSettingListDocument from DynamicSettingListDocument.cpp
00004 *  Part of  : Dynamic Setting List
00005 *  Created  : 09/21/2005 by Forum Nokia
00006 *  Version  : 1.0
00007 *
00008 *  Copyright (c) 2005 - 2007 Nokia Corporation.
00009 *  This material, including documentation and any related
00010 *  computer programs, is protected by copyright controlled by
00011 *  Nokia Corporation.
00012 * ============================================================================
00013 */
00014 
00015 // INCLUDE FILES
00016 #include "DynamicSettingListAppUi.h"
00017 #include "DynamicSettingListDocument.h"
00018 
00019 // ================= MEMBER FUNCTIONS =======================
00020 
00021 // Constructor
00022 CDynamicSettingListDocument::CDynamicSettingListDocument(CEikApplication& aApp) : CAknDocument(aApp) 
00023     {
00024         // no implementation required
00025     }
00026 
00027 // Destructor
00028 CDynamicSettingListDocument::~CDynamicSettingListDocument()
00029     {
00030         // no implementation required
00031     }
00032 
00033 // ----------------------------------------------------
00034 // CDynamicSettingListDocument::NewL()
00035 // Two-phased constructor.
00036 // ----------------------------------------------------
00037 // 
00038 CDynamicSettingListDocument* CDynamicSettingListDocument::NewL(CEikApplication& aApp)
00039     {
00040     CDynamicSettingListDocument* self = NewLC(aApp);
00041     CleanupStack::Pop(self);
00042     return self;
00043     }
00044 
00045 // ----------------------------------------------------
00046 // CDynamicSettingListDocument::NewLC()
00047 // Two-phased constructor.
00048 // ----------------------------------------------------
00049 // 
00050 CDynamicSettingListDocument* CDynamicSettingListDocument::NewLC(CEikApplication& aApp)
00051     {
00052     CDynamicSettingListDocument* self = new (ELeave) CDynamicSettingListDocument(aApp);
00053     CleanupStack::PushL(self);
00054     self->ConstructL();
00055     return self;
00056     }
00057 
00058 // ----------------------------------------------------
00059 // CDynamicSettingListDocument::ConstructL()
00060 // Symbian OS default constructor can leave.
00061 // ----------------------------------------------------
00062 // 
00063 void CDynamicSettingListDocument::ConstructL()
00064     {
00065         // no implementation required
00066     }    
00067 
00068 // ----------------------------------------------------
00069 // CDynamicSettingListDocument::CreateAppUiL()
00070 // constructs CDynamicSettingListAppUi
00071 // ----------------------------------------------------
00072 //
00073 CEikAppUi* CDynamicSettingListDocument::CreateAppUiL()
00074     {
00075     // Create the application user interface, and return a pointer to it,
00076     // the framework takes ownership of this object
00077     CEikAppUi* appUi = new (ELeave) CDynamicSettingListAppUi;
00078     return appUi;
00079     }
00080 
00081 // End of file

© Nokia 2009

Back to top