2015-08-18 06:50:28 -07:00
|
|
|
#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
|
|
|
|
|
2015-08-18 07:06:40 -07:00
|
|
|
EAPI extern int ECORE_WL2_EVENT_GLOBAL_ADDED;
|
|
|
|
EAPI extern int ECORE_WL2_EVENT_GLOBAL_REMOVED;
|
|
|
|
|
|
|
|
EAPI int ecore_wl2_init(void);
|
|
|
|
EAPI int ecore_wl2_shutdown(void);
|
|
|
|
|
2015-08-18 06:50:28 -07:00
|
|
|
/* # ifdef __cplusplus */
|
|
|
|
/* } */
|
|
|
|
/* # endif */
|
|
|
|
|
|
|
|
# undef EAPI
|
|
|
|
# define EAPI
|
|
|
|
|
|
|
|
#endif
|