00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 00006 // INCLUDE FILES 00007 #include <eikstart.h> 00008 #include "ImageConverterApp.h" 00009 #include "ImageConverterDocument.h" 00010 00011 // ================= MEMBER FUNCTIONS ======================= 00012 00013 // --------------------------------------------------------- 00014 // CImageConverterApp::AppDllUid() 00015 // Returns application UID 00016 // --------------------------------------------------------- 00017 // 00018 TUid CImageConverterApp::AppDllUid() const 00019 { 00020 return KUidImageConverter; 00021 } 00022 00023 00024 // --------------------------------------------------------- 00025 // CImageConverterApp::CreateDocumentL() 00026 // Creates CImageConverterDocument object 00027 // --------------------------------------------------------- 00028 // 00029 CApaDocument* CImageConverterApp::CreateDocumentL() 00030 { 00031 return CImageConverterDocument::NewL( *this ); 00032 } 00033 00034 // ================= OTHER EXPORTED FUNCTIONS ============== 00035 // 00036 // --------------------------------------------------------- 00037 // NewApplication() 00038 // Constructs CImageConverterApp 00039 // Returns: created application object 00040 // --------------------------------------------------------- 00041 // 00042 EXPORT_C CApaApplication* NewApplication() 00043 { 00044 return new CImageConverterApp; 00045 } 00046 00047 00048 // ----------------------------------------------------------------------------- 00049 // Entry point function for Symbian Apps, separate function for 00050 // S60 3rd Ed and 1st/2nd Ed 00051 // ----------------------------------------------------------------------------- 00052 GLDEF_C TInt E32Main() 00053 { 00054 return EikStart::RunApplication( NewApplication ); 00055 } 00056 // End of File 00057