devilhorns pushed a commit to branch master.

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

commit 8b42bc4ae7d052b94bf690c572d6b0af8144091e
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Sep 25 10:30:48 2015 -0400

    ecore-wl2: Add private function declarations for dnd functions
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_private.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h 
b/src/lib/ecore_wl2/ecore_wl2_private.h
index 0b7e042..04343c4 100644
--- a/src/lib/ecore_wl2/ecore_wl2_private.h
+++ b/src/lib/ecore_wl2/ecore_wl2_private.h
@@ -110,6 +110,16 @@ struct _Ecore_Wl2_Output
    Eina_Rectangle geometry;
 };
 
+typedef struct _Ecore_Wl2_Dnd_Source
+{
+   Ecore_Wl2_Input *input;
+
+   int refcount, fd, x, y;
+
+   struct wl_data_offer *offer;
+   struct wl_array types;
+} Ecore_Wl2_Dnd_Source;
+
 struct _Ecore_Wl2_Input
 {
    EINA_INLIST;
@@ -194,6 +204,11 @@ struct _Ecore_Wl2_Input
         double rate, delay;
         Eina_Bool enabled : 1;
      } repeat;
+
+   struct
+     {
+        Ecore_Wl2_Dnd_Source *source;
+     } drag, selection;
 };
 
 Ecore_Wl2_Window *_ecore_wl2_display_window_surface_find(Ecore_Wl2_Display 
*display, struct wl_surface *wl_surface);
@@ -207,4 +222,11 @@ void _ecore_wl2_input_del(Ecore_Wl2_Input *input);
 void _ecore_wl2_input_ungrab(Ecore_Wl2_Input *input);
 void _ecore_wl2_input_grab(Ecore_Wl2_Input *input, Ecore_Wl2_Window *window, 
unsigned int button);
 
+void _ecore_wl2_dnd_add(Ecore_Wl2_Input *input, struct wl_data_offer *offer);
+void _ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, 
struct wl_surface *surface, int x, int y, unsigned int timestamp);
+void _ecore_wl2_dnd_leave(Ecore_Wl2_Input *input);
+void _ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, unsigned int 
timestamp);
+void _ecore_wl2_dnd_drop(Ecore_Wl2_Input *input);
+void _ecore_wl2_dnd_selection(Ecore_Wl2_Input *input, struct wl_data_offer 
*offer);
+
 #endif

-- 


Reply via email to