|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : PickSelectApp.cpp 00004 * Part of : OpenGLEx / PickSelect 00005 * 00006 * Copyright (c) 2004-2006 Nokia Corporation. 00007 * This material, including documentation and any related 00008 * computer programs, is protected by copyright controlled by 00009 * Nokia Corporation. 00010 * ============================================================================== 00011 */ 00012 00013 00014 // INCLUDE FILES 00015 #include <eikstart.h> 00016 #include "PickSelectApp.h" 00017 #include "PickSelectDocument.h" 00018 00019 // ================= MEMBER FUNCTIONS ======================= 00020 00021 // --------------------------------------------------------- 00022 // CPickSelectApp::AppDllUid() 00023 // Returns application UID 00024 // --------------------------------------------------------- 00025 // 00026 TUid CPickSelectApp::AppDllUid() const 00027 { 00028 return KUidPickSelect; 00029 } 00030 00031 00032 // --------------------------------------------------------- 00033 // CPickSelectApp::CreateDocumentL() 00034 // Creates CPickSelectDocument object 00035 // --------------------------------------------------------- 00036 // 00037 CApaDocument* CPickSelectApp::CreateDocumentL() 00038 { 00039 return CPickSelectDocument::NewL( *this ); 00040 } 00041 00042 // ================= OTHER EXPORTED FUNCTIONS ============== 00043 00044 LOCAL_C CApaApplication* NewApplication() 00045 { 00046 return new CPickSelectApp; 00047 } 00048 00049 GLDEF_C TInt E32Main() 00050 { 00051 return EikStart::RunApplication(NewApplication); 00052 } 00053 00054 // End of File 00055
|
© Nokia 2009 |