aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dnd.h
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-10-07 18:36:54 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-10-07 18:36:54 +0000
commite85dd8ade40a485e788948a79671519e0547ceae (patch)
treeee3d2708cbba69e85dab82c7463899cd200c57f5 /src/bin/e_dnd.h
parent56fa60810beea1e4fe47e1ff5ca7c64411eda6f4 (diff)
downloadenlightenment-e85dd8ade40a485e788948a79671519e0547ceae.tar.gz
enlightenment-e85dd8ade40a485e788948a79671519e0547ceae.tar.xz
enlightenment-e85dd8ade40a485e788948a79671519e0547ceae.zip
Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd. Declare variables. SVN revision: 17276
Diffstat (limited to 'src/bin/e_dnd.h')
-rw-r--r--src/bin/e_dnd.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h
index 30056c71d..232ae553f 100644
--- a/src/bin/e_dnd.h
+++ b/src/bin/e_dnd.h
@@ -21,8 +21,10 @@ struct _E_Drag
{
E_Object e_obj_inherit;
- char *type;
- void *data;
+ char **types;
+ unsigned int num_types;
+ void *data;
+ int data_size;
struct {
void (*finished)(E_Drag *drag, int dropped);
@@ -91,7 +93,9 @@ EAPI int e_dnd_shutdown(void);
EAPI int e_dnd_active(void);
/* x and y are the top left coords of the object that is to be dragged */
-EAPI E_Drag *e_drag_new(E_Container *container, int x, int y, const char *type, void *data,
+EAPI E_Drag *e_drag_new(E_Container *container, int x, int y,
+ const char **types, unsigned int num_types,
+ void *data, int size,
void (*finished_cb)(E_Drag *drag, int dropped));
EAPI Evas *e_drag_evas_get(E_Drag *drag);
EAPI void e_drag_object_set(E_Drag *drag, Evas_Object *object);