cl2appapp.cpp

Go to the documentation of this file.
00001 #include "cl2appapp.h"
00002 
00003 #include "application_config.h"
00004 #include "cl2appdocument.h"
00005 
00006 #include "common/logging.h"
00007 
00008 #if __S60_VERNUM__ >= 30
00009 #include <eikstart.h>
00010 #endif
00011 
00012 TUid CCl2appApp::AppDllUid() const
00013 {
00014   return KUidcl2app;
00015 }
00016 
00017 CApaDocument* CCl2appApp::CreateDocumentL()
00018 {
00019   return CCl2appDocument::NewL(*this);
00020 }
00021 
00022 EXPORT_C CApaApplication* NewApplication()
00023 {
00024   return new CCl2appApp;
00025 }
00026 
00027 #if __S60_VERNUM__ >= 30
00028 GLDEF_C TInt E32Main()
00029 {
00030   TInt exitCode = EikStart::RunApplication(NewApplication);
00031   logg("exiting app with code %d", exitCode);
00032   return exitCode;
00033 }
00034 # else
00035 GLDEF_C TInt E32Dll( TDllReason )
00036 {
00037   return KErrNone;
00038 }
00039 #endif

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:52 2011 by Doxygen 1.6.1