elm: sys_notify: add guards to inlcude eo and legacy header only when allowed

Make sure the eo and legacy headers arte onl yincluded when the matching defines
are enabled.
This commit is contained in:
Stefan Schmidt 2016-07-28 16:50:12 +02:00
parent f752288666
commit f9ff0cd6dd
1 changed files with 5 additions and 1 deletions

View File

@ -3,10 +3,14 @@
typedef void (*Elm_Sys_Notify_Send_Cb)(void *data, unsigned int id);
#ifdef EFL_EO_API_SUPPORT
#include "elm_sys_notify_interface.eo.h"
#include "elm_sys_notify_interface.eo.legacy.h"
#include "elm_sys_notify.eo.h"
#endif
#ifndef EFL_NOLEGACY_API_SUPPORT
#include "elm_sys_notify_interface.eo.legacy.h"
#include "elm_sys_notify.eo.legacy.h"
#endif
/**
* Emitted when the signal NotificationClosed is received.