summaryrefslogtreecommitdiffhomepage
path: root/gui/export.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-11 14:36:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-11 14:36:07 +0100
commite1d6232217120be879bb639681f61e46e2d48580 (patch)
treed186ffc3dd72de6e4703d584a41971107ca8389b /gui/export.hpp
parent98ef185a5c9075720acb54ec1c2e5fec6e4ab440 (diff)
cmake, gui, main: make user interface reusable
The work isn't complete. We need moving out all non-reusable parts away and only keeping user interface logic in a class.
Diffstat (limited to 'gui/export.hpp')
-rw-r--r--gui/export.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/gui/export.hpp b/gui/export.hpp
new file mode 100644
index 00000000..3ef3e5b8
--- /dev/null
+++ b/gui/export.hpp
@@ -0,0 +1,11 @@
+// generates export.hpp for each module from compat/linkage.hpp
+
+#pragma once
+
+#include "compat/linkage-macros.hpp"
+
+#ifdef BUILD_USER_INTERFACE
+# define OTR_GUI_EXPORT OTR_GENERIC_EXPORT
+#else
+# define OTR_GUI_EXPORT OTR_GENERIC_IMPORT
+#endif