2 * Copyright © 2000-2003 Marco Pesenti Gritti
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * $Id: ephy-dnd.h 6952 2007-03-11 19:42:02Z chpe $
25 #include <gtk/gtkwidget.h>
26 #include <gtk/gtkdnd.h>
30 /* Drag & Drop target names. */
31 #define EPHY_DND_URI_LIST_TYPE "text/uri-list"
32 #define EPHY_DND_TEXT_TYPE "text/plain"
33 #define EPHY_DND_URL_TYPE "_NETSCAPE_URL"
34 #define EPHY_DND_TOPIC_TYPE "ephy_topic_node"
36 typedef void (* EphyDragEachSelectedItemDataGet
) (const char *url
,
40 typedef void (* EphyDragEachSelectedItemIterator
) (EphyDragEachSelectedItemDataGet iteratee
,
41 gpointer iterator_context
,
44 gboolean
ephy_dnd_drag_data_get (GtkWidget
*widget
,
45 GdkDragContext
*context
,
46 GtkSelectionData
*selection_data
,
48 gpointer container_context
,
49 EphyDragEachSelectedItemIterator each_selected_item_iterator
);