|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : CCEApp.h 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 00017 #ifndef __CCEAPP_H__ 00018 #define __CCEAPP_H__ 00019 00020 // INCLUDES 00021 #include <aknapp.h> 00022 #include "CLFExampleUID.hrh" 00023 #include "CCEDocument.h" 00024 00025 // CONSTANTS 00026 const TUid KUidCE = { KCEUID3 }; 00027 00028 /** 00029 * CLF Example Application. 00030 */ 00031 class CCEApp : public CAknApplication 00032 { 00033 private: // Functions from base classes 00034 00035 /** 00036 * From CEikApplication. Creates the Document. 00037 */ 00038 inline CApaDocument* CreateDocumentL(); 00039 00040 /** 00041 * From CApaApplication. Get Uid of the application. 00042 */ 00043 inline TUid AppDllUid() const; 00044 00045 }; 00046 00047 CApaDocument* CCEApp::CreateDocumentL() 00048 { 00049 return( CCEDocument::NewL( *this ) ); 00050 } 00051 00052 TUid CCEApp::AppDllUid() const 00053 { 00054 return KUidCE; 00055 } 00056 00057 00058 #endif // __CCEAPP_H__ 00059 00060 // End of File
|
© Nokia 2009 |