summaryrefslogtreecommitdiff
path: root/Application.h
diff options
context:
space:
mode:
Diffstat (limited to 'Application.h')
-rw-r--r--Application.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/Application.h b/Application.h
index 0d247796..de5a7cf7 100644
--- a/Application.h
+++ b/Application.h
@@ -14,21 +14,15 @@
class Application : public wxApp
{
-public:
- bool OnInit();
- int OnRun();
- int OnExit();
- bool OnExceptionInMainLoop();
+private:
+ virtual bool OnInit();
+ virtual int OnRun();
+ virtual int OnExit() { return 0; }
+ virtual bool OnExceptionInMainLoop();
void OnStartApplication(wxIdleEvent& event);
void OnQueryEndSession(wxEvent& event);
-private:
- void runGuiMode(const xmlAccess::XmlGuiConfig& guiCfg, xmlAccess::XmlGlobalSettings& settings);
- void runGuiMode(const std::vector<wxString>& cfgFileName, xmlAccess::XmlGlobalSettings& settings);
- void runBatchMode(const Zstring& filename, xmlAccess::XmlGlobalSettings& globSettings);
-
- xmlAccess::XmlGlobalSettings globalSettings; //settings used by GUI, batch mode or both
zen::FfsReturnCode returnCode;
};
bgstack15