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>
This commit is contained in:
Lauro Moura 2017-11-23 15:32:08 -08:00 committed by Cedric Bail
parent 3afbcb2e27
commit b47dce6713
1 changed files with 18 additions and 0 deletions

View File

@ -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>