devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9e8b79b43fd8c2d5289caf14caf4e96d4224d170

commit 9e8b79b43fd8c2d5289caf14caf4e96d4224d170
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Sep 29 10:06:50 2015 -0400

    ecore-wl2: Add remaining events and event structures for data source
    (dnd)
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/Ecore_Wl2.h | 19 +++++++++++++++++++
 src/lib/ecore_wl2/ecore_wl2.c |  6 ++++++
 2 files changed, 25 insertions(+)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 14b5421..83f6b26 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -90,6 +90,22 @@ typedef struct _Ecore_Wl2_Event_Dnd_End
    unsigned int win, source;
 } 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
 {
    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_DROP;
 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
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 0b8f696..e8c2d17 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -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_DROP = 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
 _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_DROP = 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);

-- 


Reply via email to