examples/ForumNokia/S60_3rd_Edition_TextMTM_Example/modules/Viewer/src/TxtViewerApp.cpp

00001 
00002 
00003 // INCLUDE FILES
00004 #include "Txtviewerdoc.h"        // Documentpart of the Symbian OS app
00005 #include "Txtviewerapp.h"        // Applicationpart of the Symbian OS app
00006 #include "TxtViewerAppServer.h"
00007 
00008 // ================= MEMBER FUNCTIONS =======================
00009 
00010 // ---------------------------------------------------------
00011 // CTxtViewerApplication::AppDllUid
00012 // Returns the application's uid to the UIKON framework
00013 // 
00014 // ---------------------------------------------------------
00015 TUid CTxtViewerApplication::AppDllUid() const
00016     {
00017     return KUidTxtViewer;
00018     }
00019 
00020 // ---------------------------------------------------------
00021 // CTxtViewerApplication::CreateDocumentL
00022 // Part of the UIKON framework's application construction. Creates Doc-part.
00023 // 
00024 // ---------------------------------------------------------
00025 CApaDocument* CTxtViewerApplication::CreateDocumentL()
00026     {
00027     return CTxtViewerDocument::NewL(*this);
00028     }
00029 
00030 // ---------------------------------------------------------
00031 // CTxtViewerApplication::NewAppServerL
00032 // 
00033 // ---------------------------------------------------------
00034 void CTxtViewerApplication::NewAppServerL( CApaAppServer*& aAppServer )
00035     {
00036     aAppServer = new (ELeave) CTxtViewerAppServer;
00037     }
00038 // ================= OTHER EXPORTED FUNCTIONS ==============
00039 
00040 #include <eikstart.h>
00041 LOCAL_C CApaApplication* NewApplication()
00042     {
00043         return new CTxtViewerApplication;
00044     }
00045     
00046 GLDEF_C TInt E32Main()
00047         {
00048         return EikStart::RunApplication( NewApplication );
00049     }
00050 

Generated by  doxygen 1.6.2