00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __APP_H__
00013 #define __APP_H__
00014
00015 #include <wx/app.h>
00016 #include <wx/cmdline.h>
00017 #include <wx/panel.h>
00018 #include "common.h"
00019
00020 namespace VRUT
00021 {
00023 class BaseApp: public wxApp
00024 {
00025 DECLARE_DYNAMIC_CLASS(BaseApp);
00026
00027 protected:
00029 virtual bool OnInit();
00031 virtual int OnExit();
00033 virtual void OnInitCmdLine(wxCmdLineParser & parser);
00035 virtual bool OnCmdLineHelp(wxCmdLineParser & WXUNUSED(parser));
00037 virtual bool OnCmdLineError(wxCmdLineParser & parser);
00039 virtual bool OnCmdLineParsed(wxCmdLineParser & parser);
00040
00041 public:
00043 BaseApp();
00045 virtual ~BaseApp();
00046 };
00047 };
00048
00049
00050 #endif