1 #ifndef _ECORE_WAYLAND_PRIVATE_H
2 # define _ECORE_WAYLAND_PRIVATE_H
10 # define LOGFN(fl, ln, fn) printf("-ECORE-WL: %25s: %5i - %s\n", fl, ln, fn);
12 # define LOGFN(fl, ln, fn)
15 extern int _ecore_wl_log_dom;
17 # ifdef ECORE_WL_DEFAULT_LOG_COLOR
18 # undef ECORE_WL_DEFAULT_LOG_COLOR
20 # define ECORE_WL_DEFAULT_LOG_COLOR EINA_COLOR_BLUE
25 # define ERR(...) EINA_LOG_DOM_ERR(_ecore_wl_log_dom, __VA_ARGS__)
30 # define DBG(...) EINA_LOG_DOM_DBG(_ecore_wl_log_dom, __VA_ARGS__)
35 # define INF(...) EINA_LOG_DOM_INFO(_ecore_wl_log_dom, __VA_ARGS__)
40 # define WRN(...) EINA_LOG_DOM_WARN(_ecore_wl_log_dom, __VA_ARGS__)
45 # define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__)
47 typedef struct _Ecore_Wl_Dnd_Source
49 struct wl_data_offer *offer;
56 } Ecore_Wl_Dnd_Source;
58 typedef struct _Ecore_Wl_Dnd_Target
60 /* NB: These are not the real fields for this structure,
61 * and it is Bound to change....soon */
62 struct wl_data_offer *offer;
69 } Ecore_Wl_Dnd_Target;
71 struct _Ecore_Wl_Drag_Source
73 struct wl_data_device *data_dev;
74 struct wl_buffer *buffer;
76 int32_t hotspot_x, hotspot_y;
77 int32_t offset_x, offset_y;
82 struct wl_data_source *data_source;