summaryrefslogtreecommitdiff
path: root/shared/appMain.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:01:29 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:01:29 +0200
commit9a2a524f1e311853d08050be2dcdddc09ac7759a (patch)
treed8e4a24169fce88c2d89931d58514889a0bcb0ea /shared/appMain.h
parent2.3 (diff)
downloadFreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.tar.gz
FreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.tar.bz2
FreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.zip
3.0
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