ecore-wl2: Add remaining events and event structures for data source
(dnd) Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
199d762e57
commit
9e8b79b43f
|
@ -90,6 +90,22 @@ typedef struct _Ecore_Wl2_Event_Dnd_End
|
||||||
unsigned int win, source;
|
unsigned int win, source;
|
||||||
} Ecore_Wl2_Event_Dnd_End;
|
} Ecore_Wl2_Event_Dnd_End;
|
||||||
|
|
||||||
|
typedef struct _Ecore_Wl2_Event_Data_Source_Cancelled
|
||||||
|
{
|
||||||
|
unsigned int win, source;
|
||||||
|
} Ecore_Wl2_Event_Data_Source_Cancelled;
|
||||||
|
|
||||||
|
typedef struct _Ecore_Wl2_Event_Data_Source_Target
|
||||||
|
{
|
||||||
|
char *type;
|
||||||
|
} Ecore_Wl2_Event_Data_Source_Target;
|
||||||
|
|
||||||
|
typedef struct _Ecore_Wl2_Event_Data_Source_Send
|
||||||
|
{
|
||||||
|
char *type;
|
||||||
|
int fd;
|
||||||
|
} Ecore_Wl2_Event_Data_Source_Send;
|
||||||
|
|
||||||
typedef enum _Ecore_Wl2_Window_Type
|
typedef enum _Ecore_Wl2_Window_Type
|
||||||
{
|
{
|
||||||
ECORE_WL2_WINDOW_TYPE_NONE,
|
ECORE_WL2_WINDOW_TYPE_NONE,
|
||||||
|
@ -111,6 +127,9 @@ EAPI extern int ECORE_WL2_EVENT_DND_LEAVE;
|
||||||
EAPI extern int ECORE_WL2_EVENT_DND_MOTION;
|
EAPI extern int ECORE_WL2_EVENT_DND_MOTION;
|
||||||
EAPI extern int ECORE_WL2_EVENT_DND_DROP;
|
EAPI extern int ECORE_WL2_EVENT_DND_DROP;
|
||||||
EAPI extern int ECORE_WL2_EVENT_DND_END;
|
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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
|
|
|
@ -20,6 +20,9 @@ EAPI int ECORE_WL2_EVENT_DND_LEAVE = 0;
|
||||||
EAPI int ECORE_WL2_EVENT_DND_MOTION = 0;
|
EAPI int ECORE_WL2_EVENT_DND_MOTION = 0;
|
||||||
EAPI int ECORE_WL2_EVENT_DND_DROP = 0;
|
EAPI int ECORE_WL2_EVENT_DND_DROP = 0;
|
||||||
EAPI int ECORE_WL2_EVENT_DND_END = 0;
|
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;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cb_wl_log_print(const char *format, va_list args)
|
_cb_wl_log_print(const char *format, va_list args)
|
||||||
|
@ -71,6 +74,9 @@ ecore_wl2_init(void)
|
||||||
ECORE_WL2_EVENT_DND_MOTION = ecore_event_type_new();
|
ECORE_WL2_EVENT_DND_MOTION = ecore_event_type_new();
|
||||||
ECORE_WL2_EVENT_DND_DROP = ecore_event_type_new();
|
ECORE_WL2_EVENT_DND_DROP = ecore_event_type_new();
|
||||||
ECORE_WL2_EVENT_DND_END = ecore_event_type_new();
|
ECORE_WL2_EVENT_DND_END = ecore_event_type_new();
|
||||||
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_log_set_handler_server(_cb_wl_log_print);
|
wl_log_set_handler_server(_cb_wl_log_print);
|
||||||
|
|
Loading…
Reference in New Issue