aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dnd.h
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-04-25 18:02:26 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-04-25 18:02:26 +0000
commit42aae70082e283578bd2c3b6a259310ddb18e204 (patch)
treec683df5176beb83bafd93a4130a80cb0866e7baa /src/bin/e_dnd.h
parent3b74220a06793e814c984441d44ce4ed433597a4 (diff)
downloadenlightenment-42aae70082e283578bd2c3b6a259310ddb18e204.tar.gz
enlightenment-42aae70082e283578bd2c3b6a259310ddb18e204.tar.xz
enlightenment-42aae70082e283578bd2c3b6a259310ddb18e204.zip
DND work.
SVN revision: 14357
Diffstat (limited to 'src/bin/e_dnd.h')
-rw-r--r--src/bin/e_dnd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h
index 6c521d183..86ec651ad 100644
--- a/src/bin/e_dnd.h
+++ b/src/bin/e_dnd.h
@@ -5,6 +5,7 @@
#ifdef E_TYPEDEFS
typedef struct _E_Drop_Handler E_Drop_Handler;
+typedef struct _E_Drop_Event E_Drop_Event;
#else
#ifndef E_DND_H
@@ -18,6 +19,12 @@ struct _E_Drop_Handler
int x, y, w, h;
};
+struct _E_Drop_Event
+{
+ void *data;
+ int x, y;
+};
+
EAPI int e_dnd_init(void);
EAPI int e_dnd_shutdown(void);
@@ -25,7 +32,7 @@ EAPI void e_drag_start(E_Zone *zone, const char *type, void *data, const char *i
EAPI void e_drag_update(int x, int y);
EAPI void e_drag_end(int x, int y);
-EAPI E_Drop_Handler *e_drop_handler_add(void *data, void (*func)(void *data, const char *type, void *drop), const char *type, int x, int y, int w, int h);
+EAPI E_Drop_Handler *e_drop_handler_add(void *data, void (*func)(void *data, const char *type, void *event_info), const char *type, int x, int y, int w, int h);
EAPI void e_drop_handler_del(E_Drop_Handler *handler);
#endif