forked from enlightenment/efl
headers: ensure Efl.h is always included behind BETA define guards
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8244
This commit is contained in:
parent
58fb597acc
commit
12e78b5059
|
@ -274,7 +274,10 @@
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
#include <Efl.h>
|
#include <Efl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef EAPI
|
#ifdef EAPI
|
||||||
# undef EAPI
|
# undef EAPI
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
#include <Efl.h>
|
#include <Efl.h>
|
||||||
|
#endif
|
||||||
#ifdef EAPI
|
#ifdef EAPI
|
||||||
# undef EAPI
|
# undef EAPI
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
#include <Efl.h>
|
#include <Efl.h>
|
||||||
|
#endif
|
||||||
#ifdef EAPI
|
#ifdef EAPI
|
||||||
# undef EAPI
|
# undef EAPI
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -80,8 +80,9 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <Efl_Config.h>
|
#include <Efl_Config.h>
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
#include <Efl.h>
|
#include <Efl.h>
|
||||||
|
#endif
|
||||||
#ifdef EAPI
|
#ifdef EAPI
|
||||||
# undef EAPI
|
# undef EAPI
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#define _ELDBUS_MODEL_H
|
#define _ELDBUS_MODEL_H
|
||||||
|
|
||||||
#include <Eldbus.h>
|
#include <Eldbus.h>
|
||||||
#include <Efl.h>
|
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -10,7 +9,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EFL_BETA_API_SUPPORT
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
|
#include <Efl.h>
|
||||||
#include <eldbus_model_connection.eo.h>
|
#include <eldbus_model_connection.eo.h>
|
||||||
#include <eldbus_model_object.eo.h>
|
#include <eldbus_model_object.eo.h>
|
||||||
#include <eldbus_model_proxy.eo.h>
|
#include <eldbus_model_proxy.eo.h>
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
#include <Efreet_Mime.h>
|
#include <Efreet_Mime.h>
|
||||||
#include <Efreet_Trash.h>
|
#include <Efreet_Trash.h>
|
||||||
#include <Ethumb_Client.h>
|
#include <Ethumb_Client.h>
|
||||||
#include <Efl.h>
|
|
||||||
|
|
||||||
#ifdef ELM_ELOCATION
|
#ifdef ELM_ELOCATION
|
||||||
#include <Elocation.h>
|
#include <Elocation.h>
|
||||||
|
@ -148,6 +147,7 @@ EAPI extern Elm_Version *elm_version;
|
||||||
#include <elm_focus.h>
|
#include <elm_focus.h>
|
||||||
|
|
||||||
#if defined (EFL_EO_API_SUPPORT) && defined (EFL_BETA_API_SUPPORT)
|
#if defined (EFL_EO_API_SUPPORT) && defined (EFL_BETA_API_SUPPORT)
|
||||||
|
#include <Efl.h>
|
||||||
/* FIXME: wtf? */
|
/* FIXME: wtf? */
|
||||||
#ifndef EFL_UI_RADIO_EVENT_CHANGED
|
#ifndef EFL_UI_RADIO_EVENT_CHANGED
|
||||||
# define EFL_UI_RADIO_EVENT_CHANGED EFL_UI_NSTATE_EVENT_CHANGED
|
# define EFL_UI_RADIO_EVENT_CHANGED EFL_UI_NSTATE_EVENT_CHANGED
|
||||||
|
|
|
@ -168,10 +168,11 @@
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
|
|
||||||
/* This include has been added to support Eo in Evas */
|
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
|
/* This include has been added to support Eo in Evas */
|
||||||
#include <Efl.h>
|
#include <Efl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Evas_Loader.h>
|
#include <Evas_Loader.h>
|
||||||
|
|
||||||
|
@ -209,7 +210,9 @@ extern "C" {
|
||||||
#ifndef EFL_NOLEGACY_API_SUPPORT
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
||||||
#include <Evas_Legacy.h>
|
#include <Evas_Legacy.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
#include <Evas_Eo.h>
|
#include <Evas_Eo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue