forked from enlightenment/efl
ecore-wl2: Add event structure and event type for selection data ready
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
9e8b79b43f
commit
a83ba427a9
|
@ -106,6 +106,13 @@ typedef struct _Ecore_Wl2_Event_Data_Source_Send
|
|||
int fd;
|
||||
} Ecore_Wl2_Event_Data_Source_Send;
|
||||
|
||||
typedef struct _Ecore_Wl2_Event_Selection_Data_Ready
|
||||
{
|
||||
char **data;
|
||||
int len;
|
||||
Eina_Bool done : 1;
|
||||
} Ecore_Wl2_Event_Selection_Data_Ready;
|
||||
|
||||
typedef enum _Ecore_Wl2_Window_Type
|
||||
{
|
||||
ECORE_WL2_WINDOW_TYPE_NONE,
|
||||
|
@ -130,6 +137,7 @@ EAPI extern int ECORE_WL2_EVENT_DND_END;
|
|||
EAPI extern int ECORE_WL2_EVENT_DATA_SOURCE_CANCELLED;
|
||||
EAPI extern int ECORE_WL2_EVENT_DATA_SOURCE_TARGET;
|
||||
EAPI extern int ECORE_WL2_EVENT_DATA_SOURCE_SEND;
|
||||
EAPI extern int ECORE_WL2_EVENT_SELECTION_DATA_READY;
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
@ -23,6 +23,7 @@ EAPI int ECORE_WL2_EVENT_DND_END = 0;
|
|||
EAPI int ECORE_WL2_EVENT_DATA_SOURCE_CANCELLED = 0;
|
||||
EAPI int ECORE_WL2_EVENT_DATA_SOURCE_TARGET = 0;
|
||||
EAPI int ECORE_WL2_EVENT_DATA_SOURCE_SEND = 0;
|
||||
EAPI int ECORE_WL2_EVENT_SELECTION_DATA_READY = 0;
|
||||
|
||||
static void
|
||||
_cb_wl_log_print(const char *format, va_list args)
|
||||
|
@ -77,6 +78,7 @@ ecore_wl2_init(void)
|
|||
ECORE_WL2_EVENT_DATA_SOURCE_CANCELLED = ecore_event_type_new();
|
||||
ECORE_WL2_EVENT_DATA_SOURCE_TARGET = ecore_event_type_new();
|
||||
ECORE_WL2_EVENT_DATA_SOURCE_SEND = ecore_event_type_new();
|
||||
ECORE_WL2_EVENT_SELECTION_DATA_READY = ecore_event_type_new();
|
||||
}
|
||||
|
||||
wl_log_set_handler_server(_cb_wl_log_print);
|
||||
|
|
Loading…
Reference in New Issue