|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : PickSelectDocument.cpp 00004 * Part of : OpenGLEx / PickSelect 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 "PickSelectDocument.h" 00018 #include "PickSelectAppUi.h" 00019 00020 // ================= MEMBER FUNCTIONS ======================= 00021 00022 // ----------------------------------------------------------------------------- 00023 // CPickSelectDocument::CPickSelectDocument 00024 // C++ default constructor can NOT contain any code, that 00025 // might leave. 00026 // ----------------------------------------------------------------------------- 00027 // 00028 CPickSelectDocument::CPickSelectDocument(CEikApplication& aApp) 00029 : CAknDocument(aApp) 00030 { 00031 } 00032 00033 // ----------------------------------------------------------------------------- 00034 // CPickSelectDocument::ConstructL 00035 // Symbian 2nd phase constructor can leave. 00036 // ----------------------------------------------------------------------------- 00037 // 00038 void CPickSelectDocument::ConstructL() 00039 { 00040 } 00041 00042 00043 // ----------------------------------------------------------------------------- 00044 // CPickSelectDocument::NewL 00045 // Two-phased constructor. 00046 // ----------------------------------------------------------------------------- 00047 // 00048 CPickSelectDocument* CPickSelectDocument::NewL( 00049 CEikApplication& aApp) // CPickSelectApp reference 00050 { 00051 CPickSelectDocument* self = new (ELeave) CPickSelectDocument( aApp ); 00052 CleanupStack::PushL( self ); 00053 self->ConstructL(); 00054 CleanupStack::Pop(); 00055 00056 return self; 00057 } 00058 00059 // destructor 00060 CPickSelectDocument::~CPickSelectDocument() 00061 { 00062 } 00063 00064 // ---------------------------------------------------- 00065 // CPickSelectDocument::CreateAppUiL() 00066 // constructs CPickSelectAppUi 00067 // ---------------------------------------------------- 00068 // 00069 CEikAppUi* CPickSelectDocument::CreateAppUiL() 00070 { 00071 return new (ELeave) CPickSelectAppUi; 00072 } 00073 00074 // End of File
|
© Nokia 2006 |