|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexnotedocument.cpp 00004 * Part of : Note 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 "AknExNoteDocument.h" 00018 #include "AknExNoteAppUi.h" 00019 00020 00021 00022 // ========================= MEMBER FUNCTIONS ================================== 00023 00024 // ----------------------------------------------------------------------------- 00025 // CAknExNoteDocument::NewL() 00026 // Two-phased constructor. 00027 // ----------------------------------------------------------------------------- 00028 // 00029 CAknExNoteDocument* CAknExNoteDocument::NewL( CEikApplication& aApp ) 00030 { 00031 CAknExNoteDocument* self = new( ELeave ) CAknExNoteDocument( aApp ); 00032 return self; 00033 } 00034 00035 // ----------------------------------------------------------------------------- 00036 // CAknExNoteDocument::~CAknExNoteDocument() 00037 // Destructor. 00038 // ----------------------------------------------------------------------------- 00039 // 00040 CAknExNoteDocument::~CAknExNoteDocument() 00041 { 00042 // No implementation required 00043 } 00044 00045 // ----------------------------------------------------------------------------- 00046 // CAknExNoteDocument::CAknExNoteDocument() 00047 // C++ default constructor can NOT contain any code, that might leave. 00048 // ----------------------------------------------------------------------------- 00049 // 00050 CAknExNoteDocument::CAknExNoteDocument( CEikApplication& aApp ): 00051 CEikDocument( aApp ) 00052 { 00053 // No implementation required 00054 } 00055 00056 // ----------------------------------------------------------------------------- 00057 // CAknExNoteDocument::CreateAppUiL() 00058 // constructs CAknExNoteAppUi 00059 // ----------------------------------------------------------------------------- 00060 // 00061 CEikAppUi* CAknExNoteDocument::CreateAppUiL() 00062 { 00063 return new( ELeave ) CAknExNoteAppUi; 00064 } 00065 00066 // End of File
|
© Nokia 2009 |