From e1d6232217120be879bb639681f61e46e2d48580 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 Jan 2018 14:36:07 +0100 Subject: 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. --- gui/export.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gui/export.hpp (limited to 'gui/export.hpp') 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 -- cgit v1.2.3