summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-11-23 15:32:08 -0800
committerCedric Bail <cedric@osg.samsung.com>2017-11-23 15:32:11 -0800
commitb47dce671336aa799a38c7e6622a2231d3411ffa (patch)
tree887faecb0919564855a53735e4677afb03436848
parent3afbcb2e27e158d8b4758e82a5c25b98458fea7d (diff)
downloadefl-b47dce671336aa799a38c7e6622a2231d3411ffa.tar.gz
elementary: Windows requires EAPI for the legacy .eo.h
Summary: After the reorganization of elm eos, some sources include the .eo headers directly instead of through Elementary.h. This causes problems on windows as the declarations won't be decorated with the dllexport attributes. Reviewers: cedric, felipealmeida, jpeg, vtorri Subscribers: jenkins Tags: #windows, #efl Differential Revision: https://phab.enlightenment.org/D5519 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
-rw-r--r--src/lib/elementary/Elementary.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/elementary/Elementary.h b/src/lib/elementary/Elementary.h
index 86377496df..9cecb35bc3 100644
--- a/src/lib/elementary/Elementary.h
+++ b/src/lib/elementary/Elementary.h
@@ -217,6 +217,24 @@ EAPI extern Elm_Version *elm_version;
#include <elm_glview.h>
#include <elm_grid.h>
+
+#ifdef _WIN32
+#ifdef ELEMENTARY_BUILD
+// Elm legacy headers that require EAPI defined
+#include <elm_spinner.eo.h>
+#include <elm_entry.eo.h>
+#include <elm_ctxpopup.eo.h>
+#include <elm_ctxpopup_item.eo.h>
+#include <elm_popup.eo.h>
+#include <elm_popup_item.eo.h>
+#include <elm_colorselector.eo.h>
+#include <elm_interface_scrollable.eo.h>
+#include <elm_systray.eo.h>
+#include <elm_notify.eo.h>
+#include <elm_hoversel.eo.h>
+#endif
+#endif
+
#include <elm_hover.h>
#include <elm_image.h>
#include <elm_index.h>