|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : CCEDocument.cpp 00004 * Part of : Content Listing Framework Sample Application 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 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 "CCEDocument.h" 00018 00019 #include "CCEAppUi.h" 00020 00021 // ============================ MEMBER FUNCTIONS =============================== 00022 00023 // ----------------------------------------------------------------------------- 00024 // CCEDocument::CCEDocument 00025 // C++ default constructor can NOT contain any code, that 00026 // might leave. 00027 // ----------------------------------------------------------------------------- 00028 // 00029 CCEDocument::CCEDocument( CEikApplication& aApp ) 00030 : CAknDocument( aApp ) 00031 { 00032 } 00033 00034 // ----------------------------------------------------------------------------- 00035 // CCEDocument::NewL 00036 // Two-phased constructor. 00037 // ----------------------------------------------------------------------------- 00038 // 00039 CCEDocument* CCEDocument::NewL( CEikApplication& aApp ) 00040 { 00041 CCEDocument* self = new( ELeave ) CCEDocument( aApp ); 00042 return self; 00043 } 00044 00045 // Destructor 00046 CCEDocument::~CCEDocument() 00047 { 00048 } 00049 00050 // ----------------------------------------------------------------------------- 00051 // CCEDocument::CreateAppUiL 00052 // Creates the Application UI. 00053 // ----------------------------------------------------------------------------- 00054 // 00055 CEikAppUi* CCEDocument::CreateAppUiL() 00056 { 00057 return new( ELeave ) CCEAppUi(); 00058 } 00059 00060 // End of File
|
© Nokia 2009 |