forked from enlightenment/efl
ecore: add Efl_Core.h
This commit is contained in:
parent
d81b73b1a7
commit
1ecbe5cffb
|
@ -64,6 +64,7 @@ lib/ecore/Ecore.h \
|
||||||
lib/ecore/Ecore_Common.h \
|
lib/ecore/Ecore_Common.h \
|
||||||
lib/ecore/Ecore_Legacy.h \
|
lib/ecore/Ecore_Legacy.h \
|
||||||
lib/ecore/Ecore_Eo.h \
|
lib/ecore/Ecore_Eo.h \
|
||||||
|
lib/ecore/Efl_Core.h \
|
||||||
lib/ecore/Ecore_Getopt.h
|
lib/ecore/Ecore_Getopt.h
|
||||||
|
|
||||||
nodist_installed_ecoremainheaders_DATA = \
|
nodist_installed_ecoremainheaders_DATA = \
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#ifdef __cplusplus
|
#ifndef _ECORE_COMMON_H
|
||||||
extern "C" {
|
#define _ECORE_COMMON_H
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <Efl_Config.h>
|
#include <Efl_Config.h>
|
||||||
|
|
||||||
|
@ -3183,6 +3182,4 @@ EAPI Efl_Future *ecore_thread_future_run(Ecore_Thread_Future_Cb heavy, const voi
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
|
#ifndef _ECORE_EO_H
|
||||||
|
#define _ECORE_EO_H
|
||||||
|
|
||||||
/* This include has been added to support Eo in Ecore */
|
/* This include has been added to support Eo in Ecore */
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup Ecore_Timer_Group
|
* @ingroup Ecore_Timer_Group
|
||||||
*
|
*
|
||||||
|
@ -148,7 +147,4 @@ EAPI Efl_Future *efl_future_iterator_race(Eina_Iterator *it);
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#ifdef __cplusplus
|
#ifndef _ECORE_LEGACY_H
|
||||||
extern "C" {
|
#define _ECORE_LEGACY_H
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup Ecore_Poller_Group
|
* @ingroup Ecore_Poller_Group
|
||||||
|
@ -392,6 +391,4 @@ EAPI void *ecore_job_del(Ecore_Job *obj);
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
#ifndef _EFL_CORE_H
|
||||||
|
#define _EFL_CORE_H
|
||||||
|
|
||||||
|
#include <Efl_Config.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# include <Evil.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <Eina.h>
|
||||||
|
#include <Eo.h>
|
||||||
|
#include <Efl.h>
|
||||||
|
|
||||||
|
#ifdef EAPI
|
||||||
|
# undef EAPI
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# ifdef EFL_ECORE_BUILD
|
||||||
|
# ifdef DLL_EXPORT
|
||||||
|
# define EAPI __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define EAPI
|
||||||
|
# endif /* ! DLL_EXPORT */
|
||||||
|
# else
|
||||||
|
# define EAPI __declspec(dllimport)
|
||||||
|
# endif /* ! EFL_ECORE_BUILD */
|
||||||
|
#else
|
||||||
|
# ifdef __GNUC__
|
||||||
|
# if __GNUC__ >= 4
|
||||||
|
# define EAPI __attribute__ ((visibility("default")))
|
||||||
|
# else
|
||||||
|
# define EAPI
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define EAPI
|
||||||
|
# endif
|
||||||
|
#endif /* ! _WIN32 */
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# include <winsock2.h>
|
||||||
|
# undef WIN32_LEAN_AND_MEAN
|
||||||
|
#elif defined (__FreeBSD__) || defined (__OpenBSD__)
|
||||||
|
# include <sys/select.h>
|
||||||
|
# include <signal.h>
|
||||||
|
#elif defined (__ANDROID__)
|
||||||
|
# include <sys/select.h>
|
||||||
|
#elif defined (__sun)
|
||||||
|
# include <sys/siginfo.h>
|
||||||
|
#else
|
||||||
|
# include <sys/time.h>
|
||||||
|
# if !defined (EXOTIC_NO_SIGNAL)
|
||||||
|
# include <signal.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "Ecore_Common.h"
|
||||||
|
#include "Ecore_Eo.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef EAPI
|
||||||
|
#define EAPI
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue