From 9a2a524f1e311853d08050be2dcdddc09ac7759a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:01:29 +0200 Subject: 3.0 --- shared/appMain.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shared/appMain.h (limited to 'shared/appMain.h') diff --git a/shared/appMain.h b/shared/appMain.h new file mode 100644 index 00000000..130a6e2a --- /dev/null +++ b/shared/appMain.h @@ -0,0 +1,21 @@ +#ifndef APPMAIN_H_INCLUDED +#define APPMAIN_H_INCLUDED + +class wxWindow; + +namespace FreeFileSync +{ +//just some wrapper around a global variable representing the (logical) main application window +class AppMainWindow +{ +public: + static void setMainWindow(wxWindow* window); //set main window and enable "exit on frame delete" + static bool mainWindowWasSet(); + +private: + static bool mainWndAct; +}; +} + + +#endif // APPMAIN_H_INCLUDED -- cgit