Remove commented out code.
[geeqie.git] / src / dnd.h
1 /*
2  * Geeqie
3  * (C) 2004 John Ellis
4  * Copyright (C) 2008 - 2012 The Geeqie Team
5  *
6  * Author: John Ellis
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13
14 #ifndef DND_H
15 #define DND_H
16
17 #define TARGET_APP_COLLECTION_MEMBER_STRING "application/x-" GQ_APPNAME_LC "-collection-member"
18 #define TARGET_APP_EXIF_ENTRY_STRING "application/x-" GQ_APPNAME_LC "-exif-entry"
19 #define TARGET_APP_KEYWORD_PATH_STRING "application/x-" GQ_APPNAME_LC "-keyword-path"
20
21 enum {
22         TARGET_APP_COLLECTION_MEMBER,
23         TARGET_APP_EXIF_ENTRY,
24         TARGET_APP_KEYWORD_PATH,
25         TARGET_URI_LIST,
26         TARGET_TEXT_PLAIN
27 };
28
29
30 extern GtkTargetEntry dnd_file_drag_types[];
31 extern gint dnd_file_drag_types_count;
32
33 extern GtkTargetEntry dnd_file_drop_types[];
34 extern gint dnd_file_drop_types_count;
35
36
37 /* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */
38 void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items);
39
40 void dnd_set_drag_label(GtkWidget *widget, GdkDragContext *context, const gchar *text);
41
42 #endif
43 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */