00001 /* 00002 * ============================================================================ 00003 * Name : CTaskManagerApp from TaskManagerApp.h 00004 * Part of : TaskManager 00005 * Created : 15/03/2006 by Forum Nokia 00006 * Version : 1.2 00007 * Copyright: Nokia Corporation 00008 * ============================================================================ 00009 */ 00010 00011 // INCLUDE FILES 00012 00013 #include <eikstart.h> 00014 #include "TaskManagerApp.h" 00015 #include "TaskManagerDocument.h" 00016 00017 // ================= MEMBER FUNCTIONS ======================= 00018 00019 // --------------------------------------------------------- 00020 // CTaskManagerApp::AppDllUid() 00021 // Returns application UID 00022 // --------------------------------------------------------- 00023 // 00024 TUid CTaskManagerApp::AppDllUid() const 00025 { 00026 return KUidTaskManagerApp; 00027 } 00028 00029 00030 // --------------------------------------------------------- 00031 // CTaskManagerApp::CreateDocumentL() 00032 // Creates CTaskManagerDocument object 00033 // --------------------------------------------------------- 00034 // 00035 CApaDocument* CTaskManagerApp::CreateDocumentL() 00036 { 00037 return CTaskManagerDocument::NewL( *this ); 00038 } 00039 00040 // ================= OTHER EXPORTED FUNCTIONS ============== 00041 // 00042 // --------------------------------------------------------- 00043 // NewApplication() 00044 // Constructs CTaskManagerApp 00045 // Returns: created application object 00046 // --------------------------------------------------------- 00047 // 00048 EXPORT_C CApaApplication* NewApplication() 00049 { 00050 return new CTaskManagerApp; 00051 } 00052 00053 // --------------------------------------------------------- 00054 // Entry point function for Symbian Apps, separate function for 00055 // S60 3rd Ed and 1st/2nd Ed 00056 // --------------------------------------------------------- 00057 // 00058 00059 00060 GLDEF_C TInt E32Main() 00061 { 00062 return EikStart::RunApplication( NewApplication ); 00063 } 00064 00065 // End of File 00066