examples/SFExamples/NotifierExample/Launchers/ExeLauncher_S60/src/ExeLauncher_S60Application.cpp

00001 /*
00002 ========================================================================
00003  Name        : ExeLauncher_S60Application.cpp
00004  Author      : Hamish Willee
00005  Copyright   : (C) Symbian 2007
00006  Description : 
00007 ========================================================================
00008 */
00009 // [[[ begin generated region: do not modify [Generated System Includes]
00010 // ]]] end generated region [Generated System Includes]
00011 
00012 // [[[ begin generated region: do not modify [Generated Includes]
00013 #include "ExeLauncher_S60Application.h"
00014 #include "ExeLauncher_S60Document.h"
00015 #ifdef EKA2
00016 #include <eikstart.h>
00017 #endif
00018 // ]]] end generated region [Generated Includes]
00019 
00024 TUid CExeLauncher_S60Application::AppDllUid() const
00025         {
00026         return KUidExeLauncher_S60Application;
00027         }
00028 
00033 CApaDocument* CExeLauncher_S60Application::CreateDocumentL()
00034         {
00035         return CExeLauncher_S60Document::NewL( *this );
00036         }
00037 
00038 #ifdef EKA2
00039 
00044 LOCAL_C CApaApplication* NewApplication()
00045         {
00046         return new CExeLauncher_S60Application;
00047         }
00048 
00053 GLDEF_C TInt E32Main()
00054         {
00055         return EikStart::RunApplication( NewApplication );
00056         }
00057         
00058 #else   // Series 60 2.x main DLL program code
00059 
00064 EXPORT_C CApaApplication* NewApplication()
00065         {
00066         return new CExeLauncher_S60Application;
00067         }
00068 
00073 GLDEF_C TInt E32Dll(TDllReason /*reason*/)
00074         {
00075         return KErrNone;
00076         }
00077 
00078 #endif // EKA2

Generated by  doxygen 1.6.2