summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_private.h
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-03-03 13:10:49 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-08 11:01:24 +0100
commit7a79e15ea3c808b92482dbdecb294c6cf3212f91 (patch)
tree25a2ae36b47829bdd0d6062ff129f701b77cccec /src/lib/ecore_evas/ecore_evas_private.h
parent8b25bc41b33cf366ef068b04cc3de55b76310891 (diff)
ecore_evas: Use EFL naming convention in cnp & dnd methods
Some methods were missing the "Drag" or "Selection" namespaces or the _Cb suffix. Depends on D11219 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11426
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_evas/ecore_evas_private.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index 10191b0152..6fb2c988b5 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -82,11 +82,11 @@ typedef struct _Ecore_Evas_Interface Ecore_Evas_Interface;
82typedef struct _Ecore_Evas_Aux_Hint Ecore_Evas_Aux_Hint; 82typedef struct _Ecore_Evas_Aux_Hint Ecore_Evas_Aux_Hint;
83typedef struct _Ecore_Evas_Cursor Ecore_Evas_Cursor; 83typedef struct _Ecore_Evas_Cursor Ecore_Evas_Cursor;
84 84
85typedef Eina_Bool (*Ecore_Evas_Internal_Delivery)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer, const char *type, Eina_Rw_Slice *slice); 85typedef Eina_Bool (*Ecore_Evas_Selection_Internal_Delivery)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer, const char *type, Eina_Rw_Slice *slice);
86typedef void (*Ecore_Evas_Internal_Cancel)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer); 86typedef void (*Ecore_Evas_Selection_Internal_Cancel)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer);
87typedef struct { 87typedef struct {
88 Ecore_Evas_Internal_Delivery delivery; 88 Ecore_Evas_Selection_Internal_Delivery delivery;
89 Ecore_Evas_Internal_Cancel cancel; 89 Ecore_Evas_Selection_Internal_Cancel cancel;
90 Eina_Array *available_types; 90 Eina_Array *available_types;
91} Ecore_Evas_Selection_Callbacks; 91} Ecore_Evas_Selection_Callbacks;
92/* Engines interfaces */ 92/* Engines interfaces */
@@ -183,10 +183,10 @@ struct _Ecore_Evas_Engine_Func
183 183
184 double (*fn_last_tick_get)(Ecore_Evas *ee); 184 double (*fn_last_tick_get)(Ecore_Evas *ee);
185 185
186 Eina_Bool (*fn_selection_claim)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel); 186 Eina_Bool (*fn_selection_claim)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel);
187 Eina_Bool (*fn_selection_has_owner)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection); 187 Eina_Bool (*fn_selection_has_owner)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection);
188 Eina_Future* (*fn_selection_request)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *acceptable_types); // a future containing a Eina_Content, type must be in acceptable_types 188 Eina_Future* (*fn_selection_request)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *acceptable_types); // a future containing a Eina_Content, type must be in acceptable_types
189 Eina_Bool (*fn_dnd_start)(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel, const char *action); 189 Eina_Bool (*fn_dnd_start)(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel, const char *action);
190 Eina_Bool (*fn_dnd_stop)(Ecore_Evas *ee, unsigned int seat); 190 Eina_Bool (*fn_dnd_stop)(Ecore_Evas *ee, unsigned int seat);
191}; 191};
192 192
@@ -385,7 +385,7 @@ struct _Ecore_Evas
385 struct { 385 struct {
386 Ecore_Evas *rep; 386 Ecore_Evas *rep;
387 void *data; 387 void *data;
388 Ecore_Evas_Drag_Finished free; 388 Ecore_Evas_Drag_Finished_Cb free;
389 Eina_Bool accepted; 389 Eina_Bool accepted;
390 } drag; 390 } drag;
391 391
@@ -531,10 +531,10 @@ EAPI Eina_Position2D ecore_evas_dnd_pos_get(Ecore_Evas *ee, unsigned int seat);
531 531
532void fallback_selection_init(Ecore_Evas *ee); 532void fallback_selection_init(Ecore_Evas *ee);
533void fallback_selection_shutdown(Ecore_Evas *ee); 533void fallback_selection_shutdown(Ecore_Evas *ee);
534Eina_Bool fallback_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel); 534Eina_Bool fallback_selection_claim(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *available_types, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel);
535Eina_Bool fallback_selection_has_owner(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection); 535Eina_Bool fallback_selection_has_owner(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection);
536Eina_Future* fallback_selection_request(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *acceptable_type); 536Eina_Future* fallback_selection_request(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer selection, Eina_Array *acceptable_type);
537Eina_Bool fallback_dnd_start(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Internal_Delivery delivery, Ecore_Evas_Internal_Cancel cancel, const char* action); 537Eina_Bool fallback_dnd_start(Ecore_Evas *ee, unsigned int seat, Eina_Array *available_types, Ecore_Evas *drag_rep, Ecore_Evas_Selection_Internal_Delivery delivery, Ecore_Evas_Selection_Internal_Cancel cancel, const char* action);
538Eina_Bool fallback_dnd_stop(Ecore_Evas *ee, unsigned int seat); 538Eina_Bool fallback_dnd_stop(Ecore_Evas *ee, unsigned int seat);
539 539
540#ifdef IPA_YLNO_ESU_LANRETNI_MLE 540#ifdef IPA_YLNO_ESU_LANRETNI_MLE