1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 /* caja-file-drag.h - Drag & drop handling code that operated on 3 CajaFile objects. 4 5 Copyright (C) 2000 Eazel, Inc. 6 7 The Mate Library is free software; you can redistribute it and/or 8 modify it under the terms of the GNU Library General Public License as 9 published by the Free Software Foundation; either version 2 of the 10 License, or (at your option) any later version. 11 12 The Mate Library is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 Library General Public License for more details. 16 17 You should have received a copy of the GNU Library General Public 18 License along with the Mate Library; see the file COPYING.LIB. If not, 19 write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 Boston, MA 02110-1301, USA. 21 22 Authors: Pavel Cisler <pavel@eazel.com>, 23 */ 24 25 #ifndef CAJA_FILE_DND_H 26 #define CAJA_FILE_DND_H 27 28 #include "caja-dnd.h" 29 #include "caja-file.h" 30 31 #define CAJA_FILE_DND_ERASE_KEYWORD "erase" 32 33 gboolean caja_drag_can_accept_item (CajaFile *drop_target_item, 34 const char *item_uri); 35 gboolean caja_drag_can_accept_items (CajaFile *drop_target_item, 36 const GList *items); 37 gboolean caja_drag_can_accept_info (CajaFile *drop_target_item, 38 CajaIconDndTargetType drag_type, 39 const GList *items); 40 void caja_drag_file_receive_dropped_keyword (CajaFile *file, 41 const char *keyword); 42 43 #endif /* CAJA_FILE_DND_H */ 44 45