examples/ForumNokia/DescriptorExample/src/DescriptorExApp.cpp

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 // INCLUDE FILES
00006 #include    "DescriptorExApp.h"
00007 #include    "DescriptorExDocument.h"
00008 
00009 #include <eikstart.h>
00010 
00011 
00012 // -----------------------------------------------------------------------------
00013 // Returns application UID
00014 // -----------------------------------------------------------------------------
00015 TUid CDescriptorExApp::AppDllUid() const
00016     {
00017     return KUidDescriptorEx;
00018     }
00019 
00020 // -----------------------------------------------------------------------------
00021 // Creates CDescriptorExDocument object
00022 // -----------------------------------------------------------------------------
00023 CApaDocument* CDescriptorExApp::CreateDocumentL()
00024     {
00025     return CDescriptorExDocument::NewL( *this );
00026     }
00027 
00028 // -----------------------------------------------------------------------------
00029 // Constructs CDescriptorExApp
00030 // Returns: created application object
00031 // -----------------------------------------------------------------------------
00032 EXPORT_C CApaApplication* NewApplication()
00033     {
00034     return new CDescriptorExApp;
00035     }
00036 
00037 GLDEF_C TInt E32Main()
00038     {
00039     return EikStart::RunApplication( NewApplication );
00040     }
00041 
00042 

Generated by  doxygen 1.6.2