|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : LmUiRefApp.cpp 00004 * Part of : Landmarks UI Reference Application 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2005-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 #include "LmUiRefApp.h" 00019 #include "LmUiRefAppDocument.h" 00020 #include "LmUiRefAppUID.h" 00021 00022 // ================= MEMBER FUNCTIONS ======================= 00023 00024 // --------------------------------------------------------- 00025 // LmUiRefApp::AppDllUid() 00026 // Returns application UID 00027 // --------------------------------------------------------- 00028 // 00029 TUid CLmUiRefApp::AppDllUid() const 00030 { 00031 return TUid::Uid( KLmUiRefAppUID3 ); 00032 } 00033 00034 00035 // --------------------------------------------------------- 00036 // LmUiRefApp::CreateDocumentL() 00037 // Creates LmUiRefApp object 00038 // --------------------------------------------------------- 00039 // 00040 CApaDocument* CLmUiRefApp::CreateDocumentL() 00041 { 00042 return CLmUiRefAppDocument::NewL( *this ); 00043 } 00044 00045 LOCAL_C CApaApplication* NewApplication() 00046 { 00047 return new CLmUiRefApp; 00048 } 00049 00050 GLDEF_C TInt E32Main () 00051 { 00052 return EikStart::RunApplication( NewApplication ); 00053 } 00054 00055 // End of File 00056
|
© Nokia 2006 |