|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexpoplistapp.cpp 00004 * Part of : Popup-list 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 <eikstart.h> 00018 00019 #include "AknExPopListApp.h" 00020 #include "AknExPopListDocument.h" 00021 00022 00023 // ========================= MEMBER FUNCTIONS =================================== 00024 00025 // ------------------------------------------------------------------------------ 00026 // CAknExPopListApp::CreateDocumentL() 00027 // Creates CAknExPopListDocument object 00028 // ------------------------------------------------------------------------------ 00029 // 00030 CApaDocument* CAknExPopListApp::CreateDocumentL() 00031 { 00032 return CAknExPopListDocument::NewL( *this ); 00033 } 00034 00035 // ---------------------------------------------------------------------------- 00036 // CAknExPopListApp::AppDllUid() 00037 // Returns application UID 00038 // ---------------------------------------------------------------------------- 00039 // 00040 TUid CAknExPopListApp::AppDllUid() const 00041 { 00042 return KUidAknExPopList; 00043 } 00044 00045 00046 // ========================== OTHER EXPORTED FUNCTIONS ========================= 00047 00048 // ----------------------------------------------------------------------------- 00049 // NewApplication() 00050 // Constructs CAknExPopListApplication. 00051 // Create an application, and return a pointer to it 00052 // ----------------------------------------------------------------------------- 00053 // 00054 EXPORT_C CApaApplication* NewApplication() 00055 { 00056 return new CAknExPopListApp; 00057 } 00058 00059 // ---------------------------------------------------------------------------- 00060 // TInt E32Main() 00061 // Entry point function for EPOC Apps. 00062 // Returns: TInt: Error if starting the app through framework wasn't succesful 00063 // ---------------------------------------------------------------------------- 00064 // 00065 GLDEF_C TInt E32Main() 00066 { 00067 return EikStart::RunApplication( NewApplication ); 00068 } 00069 00070 // End of File 00071
|
© Nokia 2009 |