summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-07-28 16:50:12 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-07-29 12:04:13 +0200
commitf9ff0cd6dd0bc79e3fe0d0b88c98b9ad4e6ef519 (patch)
tree8cc1aba039e9347727c1b6dc9d820ff21da06e47
parentf7522886666b785430d9a2af477cb953b97c3f61 (diff)
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.
-rw-r--r--src/lib/elementary/elm_sys_notify.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_sys_notify.h b/src/lib/elementary/elm_sys_notify.h
index 4534838ca7..30f5c9bb16 100644
--- a/src/lib/elementary/elm_sys_notify.h
+++ b/src/lib/elementary/elm_sys_notify.h
@@ -3,10 +3,14 @@
3 3
4typedef void (*Elm_Sys_Notify_Send_Cb)(void *data, unsigned int id); 4typedef void (*Elm_Sys_Notify_Send_Cb)(void *data, unsigned int id);
5 5
6#ifdef EFL_EO_API_SUPPORT
6#include "elm_sys_notify_interface.eo.h" 7#include "elm_sys_notify_interface.eo.h"
7#include "elm_sys_notify_interface.eo.legacy.h"
8#include "elm_sys_notify.eo.h" 8#include "elm_sys_notify.eo.h"
9#endif
10#ifndef EFL_NOLEGACY_API_SUPPORT
11#include "elm_sys_notify_interface.eo.legacy.h"
9#include "elm_sys_notify.eo.legacy.h" 12#include "elm_sys_notify.eo.legacy.h"
13#endif
10 14
11/** 15/**
12 * Emitted when the signal NotificationClosed is received. 16 * Emitted when the signal NotificationClosed is received.