examples/ForumNokia/InternetEmail/src/InternetEmailApp.cpp

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 // INCLUDE FILES
00006 #include <eikstart.h>
00007 #include "InternetEmailApp.h"
00008 #include "InternetEmailDocument.h"
00009 
00010 // ================= MEMBER FUNCTIONS =======================
00011 
00012 // ---------------------------------------------------------
00013 // CInternetEmailApp::AppDllUid()
00014 // Returns application UID
00015 // ---------------------------------------------------------
00016 //
00017 TUid CInternetEmailApp::AppDllUid() const
00018     {
00019     return KUidInternetEmail;
00020     }
00021 
00022 // ---------------------------------------------------------
00023 // CDictionaryStore* CInternetEmailApp::OpenIniFileLC(RFs& aFs) const
00024 // overrides CAknApplication::OpenIniFileLC to enable INI file support
00025 // ---------------------------------------------------------
00026 //
00027 CDictionaryStore* CInternetEmailApp::OpenIniFileLC(RFs& aFs) const
00028 {
00029     return CEikApplication::OpenIniFileLC(aFs);
00030 }
00031    
00032 // ---------------------------------------------------------
00033 // CInternetEmailApp::CreateDocumentL()
00034 // Creates CInternetEmailDocument object
00035 // ---------------------------------------------------------
00036 //
00037 CApaDocument* CInternetEmailApp::CreateDocumentL()
00038     {
00039     return CInternetEmailDocument::NewL( *this );
00040     }
00041 
00042 
00043 // ================= OTHER EXPORTED FUNCTIONS ==============
00044 //
00045 // ---------------------------------------------------------
00046 // NewApplication() 
00047 // Constructs CInternetEmailApp
00048 // Returns: created application object
00049 // ---------------------------------------------------------
00050 //
00051 EXPORT_C CApaApplication* NewApplication()
00052     {
00053     return new CInternetEmailApp;
00054     }
00055 
00056     
00057 // ---------------------------------------------------------
00058 // E32Main() 
00059 // Entry point function for EPOC Application
00060 // Returns: EikStart::RunApplication: NewApplication
00061 // ---------------------------------------------------------
00062 //
00063 GLDEF_C TInt E32Main()
00064     {
00065     return EikStart::RunApplication( NewApplication );
00066     }
00067 
00068 // End of File  
00069 

Generated by  doxygen 1.6.2