examples/ForumNokia/TZLocalizer/src/TZLocalizerApp.cpp

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 // INCLUDE FILES
00006 #include    "TZLocalizerApp.h"
00007 #include    "TZLocalizerDocument.h"
00008 #include <eikstart.h>
00009 
00010 // ================= MEMBER FUNCTIONS =======================
00011 
00012 // ---------------------------------------------------------
00013 // CTZLocalizerApp::AppDllUid()
00014 // Returns application UID
00015 // ---------------------------------------------------------
00016 //
00017 TUid CTZLocalizerApp::AppDllUid() const
00018     {
00019     return KUidTZLocalizer;
00020     }
00021 
00022    
00023 // ---------------------------------------------------------
00024 // CTZLocalizerApp::CreateDocumentL()
00025 // Creates CTZLocalizerDocument object
00026 // ---------------------------------------------------------
00027 //
00028 CApaDocument* CTZLocalizerApp::CreateDocumentL()
00029     {
00030     return CTZLocalizerDocument::NewL( *this );
00031     }
00032 
00033 // ================= OTHER EXPORTED FUNCTIONS ==============
00034 //
00035 // ---------------------------------------------------------
00036 // NewApplication() 
00037 // Constructs CTZLocalizerApp
00038 // Returns: created application object
00039 // ---------------------------------------------------------
00040 //
00041 EXPORT_C CApaApplication* NewApplication()
00042     {
00043     return new CTZLocalizerApp;
00044     }
00045 
00046 // ---------------------------------------------------------
00047 // E32Main()
00048 // Entry point function for new (>= 9.0) EPOC Apps (exe)
00049 // Returns: Sistem Wide error codes or KErrNone if all goes well
00050 // ---------------------------------------------------------
00051 //
00052 GLDEF_C TInt E32Main()
00053 {
00054     return EikStart::RunApplication( NewApplication );
00055 }
00056 
00057 
00058 // End of File  
00059 

Generated by  doxygen 1.6.2