summaryrefslogtreecommitdiff
path: root/shared/appMain.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/appMain.h')
-rw-r--r--shared/appMain.h21
1 files changed, 21 insertions, 0 deletions
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
bgstack15