|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : CFindItemTestAppDocument from FindItemTestAppDocument.h 00004 * Part of : FindItemTestApp 00005 * Interface : 00006 * Description : Find Item Test application document implementation 00007 * Version : 00008 * 00009 * Copyright (c) 2002-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 "FindItemTestAppDocument.h" 00018 #include "FindItemTestAppAppUi.h" 00019 00020 // ================= MEMBER FUNCTIONS ======================= 00021 00022 // ----------------------------------------------------------------------------- 00023 // CFindItemTestAppDocument::CFindItemTestAppDocument 00024 // C++ default constructor can NOT contain any code, that 00025 // might leave. 00026 // ----------------------------------------------------------------------------- 00027 // 00028 CFindItemTestAppDocument::CFindItemTestAppDocument(CEikApplication& aApp) 00029 : CAknDocument(aApp) 00030 { 00031 } 00032 00033 // ----------------------------------------------------------------------------- 00034 // CFindItemTestAppDocument::~CFindItemTestAppDocument 00035 // Destructor 00036 // ----------------------------------------------------------------------------- 00037 // 00038 CFindItemTestAppDocument::~CFindItemTestAppDocument() 00039 { 00040 } 00041 00042 // EPOC default constructor can leave. 00043 void CFindItemTestAppDocument::ConstructL() 00044 { 00045 // Nothing todo 00046 } 00047 00048 // ----------------------------------------------------------------------------- 00049 // CFindItemServer::ConstructL 00050 // Symbian 2nd phase constructor can leave. 00051 // ----------------------------------------------------------------------------- 00052 // 00053 CFindItemTestAppDocument* CFindItemTestAppDocument::NewL( 00054 CEikApplication& aApp) // CFindItemTestAppApp reference 00055 { 00056 CFindItemTestAppDocument* self = new (ELeave) CFindItemTestAppDocument( aApp ); 00057 CleanupStack::PushL( self ); 00058 self->ConstructL(); 00059 CleanupStack::Pop(); 00060 00061 return self; 00062 } 00063 00064 // ---------------------------------------------------- 00065 // CFindItemTestAppDocument::CreateAppUiL 00066 // constructs CFindItemTestAppAppUi 00067 // ---------------------------------------------------- 00068 // 00069 CEikAppUi* CFindItemTestAppDocument::CreateAppUiL() 00070 { 00071 return new (ELeave) CFindItemTestAppAppUi; 00072 } 00073 00074 // End of File
|
© Nokia 2006 |