devilhorns pushed a commit to branch master.

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

commit a83ba427a99b18a5ca3d276929d6e72fc632fe05
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Sep 29 10:12:41 2015 -0400

    ecore-wl2: Add event structure and event type for selection data ready
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/Ecore_Wl2.h | 8 ++++++++
 src/lib/ecore_wl2/ecore_wl2.c | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 83f6b26..9961d36 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -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
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index e8c2d17..81ea677 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -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);

-- 


Reply via email to