00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef __SherpaApp_h__
00013 #define __SherpaApp_h__
00014
00015 #define SETTING_SHERPAAPP_SHOWEVENTS_SHERPAFRAME wxT("/SherpaApp/ShowEvents/SherpaFrame")
00016 #define SETTING_SHERPAAPP_SHOWEVENTS_DIRECTORYTREE wxT("/SherpaApp/ShowEvents/DirectoryTree")
00017 #define SETTING_SHERPAAPP_SHOWEVENTS_DIRECTORYVIEW wxT("/SherpaApp/ShowEvents/DirectoryView")
00018
00019 class SherpaApp: public wxApp
00020 {
00021
00022
00023
00024 public:
00025 SherpaApp();
00026
00027
00028
00029
00030 protected:
00031 bool OnInit();
00032 int OnRun();
00033 int OnExit();
00034 void OnUnhandledException();
00035
00036
00037 private:
00038 bool Initialise();
00039 void Terminate();
00040
00041
00042
00043 DECLARE_NO_COPY_CLASS(SherpaApp)
00044 };
00045
00046 #endif // ndef __SherpaApp_h__