S60 3rd Edition SDK FP2 for Symbian OS CommonDialogsEx |
00001 /* 00002 * ============================================================================ 00003 * Name : commondialogsexapp.cpp 00004 * Part of : CommonDialogsEx 00005 * Description : Implements main application class. 00006 * Version : 00007 * 00008 * Copyright (c) 2006 Nokia Corporation. 00009 * This material, including documentation and any related 00010 * computer programs, is protected by copyright controlled by 00011 * Nokia Corporation. 00012 * ============================================================================== 00013 */ 00014 00015 // INCLUDE FILES 00016 #include <eikstart.h> 00017 #include "CommonDialogsExApp.h" 00018 #include "CommonDialogsExDocument.h" 00019 00020 // ================= MEMBER FUNCTIONS ======================= 00021 00022 // --------------------------------------------------------- 00023 // CCommonDialogsExApp::AppDllUid() 00024 // Returns application UID 00025 // --------------------------------------------------------- 00026 // 00027 TUid CCommonDialogsExApp::AppDllUid() const 00028 { 00029 return KUidDLLTest; 00030 } 00031 00032 // --------------------------------------------------------- 00033 // CCommonDialogsExApp::CreateDocumentL() 00034 // Creates CDLLTestDocument object 00035 // --------------------------------------------------------- 00036 // 00037 CApaDocument* CCommonDialogsExApp::CreateDocumentL() 00038 { 00039 return CCommonDialogsExDocument::NewL( *this ); 00040 } 00041 00042 // ================= OTHER EXPORTED FUNCTIONS ============== 00043 // 00044 // --------------------------------------------------------- 00045 // NewApplication() 00046 // Constructs CCommonDialogsExApp 00047 // Returns: CApaDocument*: created application object 00048 // --------------------------------------------------------- 00049 // 00050 LOCAL_C CApaApplication* NewApplication() 00051 { 00052 return new CCommonDialogsExApp; 00053 } 00054 00055 GLDEF_C TInt E32Main() 00056 { 00057 return EikStart::RunApplication(NewApplication); 00058 } 00059 00060 // End of File 00061
© Nokia 2007 |