devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b3eaf9be3a2f450bab6b6e7ce0106bc6eeddebe7
commit b3eaf9be3a2f450bab6b6e7ce0106bc6eeddebe7 Author: Chris Michael <cp.mich...@samsung.com> Date: Tue Aug 18 09:50:28 2015 -0400 ecore-wl2: Add start of headers for ecore_wl2 library Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_wl2/Ecore_Wl2.h | 39 +++++++++++++++++++++++++++++++++++ src/lib/ecore_wl2/ecore_wl2_private.h | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h new file mode 100644 index 0000000..f18c2bb --- /dev/null +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -0,0 +1,39 @@ +#ifndef _ECORE_WL2_H_ +# define _ECORE_WL2_H_ + +# include <Eina.h> +# include <Ecore.h> +# include <wayland-client.h> +# include <wayland-cursor.h> +# include <xkbcommon/xkbcommon.h> + +# ifdef EAPI +# undef EAPI +# endif + +# ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif +# else +# define EAPI +# endif + +/* # ifdef __cplusplus */ +/* extern "C" { */ +/* # endif */ + +# ifndef _ECORE_WAYLAND_WINDOW_PREDEF +typedef struct _Ecore_Wl_Window Ecore_Wl_Window; +# endif + +/* # ifdef __cplusplus */ +/* } */ +/* # endif */ + +# undef EAPI +# define EAPI + +#endif diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h b/src/lib/ecore_wl2/ecore_wl2_private.h new file mode 100644 index 0000000..af20ca4 --- /dev/null +++ b/src/lib/ecore_wl2/ecore_wl2_private.h @@ -0,0 +1,39 @@ +#ifndef _ECORE_WL2_PRIVATE_H +# define _ECORE_WL2_PRIVATE_H + +# include "Ecore_Wl2.h" +# include "Ecore_Input.h" + +extern int _ecore_wl2_log_dom; + +# ifdef ECORE_WL2_DEFAULT_LOG_COLOR +# undef ECORE_WL2_DEFAULT_LOG_COLOR +# endif +# define ECORE_WL2_DEFAULT_LOG_COLOR EINA_COLOR_BLUE + +# ifdef ERR +# undef ERR +# endif +# define ERR(...) EINA_LOG_DOM_ERR(_ecore_wl2_log_dom, __VA_ARGS__) + +# ifdef DBG +# undef DBG +# endif +# define DBG(...) EINA_LOG_DOM_DBG(_ecore_wl2_log_dom, __VA_ARGS__) + +# ifdef INF +# undef INF +# endif +# define INF(...) EINA_LOG_DOM_INFO(_ecore_wl2_log_dom, __VA_ARGS__) + +# ifdef WRN +# undef WRN +# endif +# define WRN(...) EINA_LOG_DOM_WARN(_ecore_wl2_log_dom, __VA_ARGS__) + +# ifdef CRI +# undef CRI +# endif +# define CRI(...) EINA_LOG_DOM_CRIT(_ecore_wl2_log_dom, __VA_ARGS__) + +#endif --