diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-11 14:36:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-11 14:36:07 +0100 |
commit | e1d6232217120be879bb639681f61e46e2d48580 (patch) | |
tree | d186ffc3dd72de6e4703d584a41971107ca8389b /gui/export.hpp | |
parent | 98ef185a5c9075720acb54ec1c2e5fec6e4ab440 (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.hpp | 11 |
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 |