|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexpoplistdocument.cpp 00004 * Part of : Popup-list example 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 // INCLUDE FILES 00017 #include "AknExPopListDocument.h" 00018 #include "AknExPopListAppUi.h" 00019 00020 // ========================= MEMBER FUNCTIONS ================================== 00021 00022 // ----------------------------------------------------------------------------- 00023 // CAknExPopListDocument::CAknExPopListDocument() 00024 // C++ default constructor can NOT contain any code, that might leave. 00025 // ----------------------------------------------------------------------------- 00026 // 00027 CAknExPopListDocument::CAknExPopListDocument( CEikApplication& aApp ): 00028 CEikDocument( aApp ) 00029 00030 { 00031 // No implementation required 00032 } 00033 00034 // ----------------------------------------------------------------------------- 00035 // CAknExPopListDocument::NewL() 00036 // Two-phased constructor. 00037 // ----------------------------------------------------------------------------- 00038 // 00039 CAknExPopListDocument* CAknExPopListDocument::NewL( CEikApplication& aApp ) 00040 { 00041 CAknExPopListDocument* self = NewLC( aApp ); 00042 CleanupStack::Pop( self ); 00043 return self; 00044 } 00045 00046 // ----------------------------------------------------------------------------- 00047 // CAknExPopListDocument::NewLC() 00048 // Two-phased constructor. 00049 // ----------------------------------------------------------------------------- 00050 // 00051 CAknExPopListDocument* CAknExPopListDocument::NewLC( CEikApplication& aApp ) 00052 { 00053 00054 CAknExPopListDocument* self = new ( ELeave ) CAknExPopListDocument( aApp ); 00055 CleanupStack::PushL( self ); 00056 self->ConstructL(); 00057 return self; 00058 } 00059 00060 00061 // ----------------------------------------------------------------------------- 00062 // CAknExPopListDocument::ConstructL() 00063 // Symbian 2nd phase constructor can leave. 00064 // ----------------------------------------------------------------------------- 00065 // 00066 void CAknExPopListDocument::ConstructL() 00067 { 00068 // No implementation required 00069 } 00070 00071 // ----------------------------------------------------------------------------- 00072 // CAknExPopListDocument::~CAknExPopListDocument() 00073 // Destructor. 00074 // ----------------------------------------------------------------------------- 00075 // 00076 CAknExPopListDocument::~CAknExPopListDocument() 00077 { 00078 // No implementation required 00079 } 00080 00081 // ----------------------------------------------------------------------------- 00082 // CAknExPopListDocument::CreateAppUiL() 00083 // Create the application user interface, and return a pointer to it 00084 // ----------------------------------------------------------------------------- 00085 // 00086 CEikAppUi* CAknExPopListDocument::CreateAppUiL() 00087 { 00088 return new( ELeave ) CAknExPopListAppUi; 00089 } 00090 00091 // End of File
|
© Nokia 2009 |