diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:50 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:50 +0200 |
commit | 7e706cf64654aea466c059c307e5723e2423ed5d (patch) | |
tree | e85f0d28d7c81b6d21419fc38e1a654cca2212b1 /Application.h | |
parent | 5.5 (diff) | |
download | FreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.tar.gz FreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.tar.bz2 FreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.zip |
5.6
Diffstat (limited to 'Application.h')
-rw-r--r-- | Application.h | 16 |
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; }; |