diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
commit | ec52555862913a23417735f9f7f5402f5230da13 (patch) | |
tree | 5e43a30d289a3daa69dddfbb060216ff6332f197 /src/nautilus-files-view-dnd.h | |
parent | Initial commit. (diff) | |
download | nautilus-588f9a161e7f1abfdfa41db72a22f3d5b9b20486.tar.xz nautilus-588f9a161e7f1abfdfa41db72a22f3d5b9b20486.zip |
Adding upstream version 3.38.2.upstream/3.38.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/nautilus-files-view-dnd.h')
-rw-r--r-- | src/nautilus-files-view-dnd.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/nautilus-files-view-dnd.h b/src/nautilus-files-view-dnd.h new file mode 100644 index 0000000..73b9263 --- /dev/null +++ b/src/nautilus-files-view-dnd.h @@ -0,0 +1,55 @@ + +/* + * nautilus-view-dnd.h: DnD helpers for NautilusFilesView + * + * Copyright (C) 1999, 2000 Free Software Foundaton + * Copyright (C) 2000, 2001 Eazel, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, see <http://www.gnu.org/licenses/>. + * + * Authors: Ettore Perazzoli + * Darin Adler <darin@bentspoon.com> + * John Sullivan <sullivan@eazel.com> + * Pavel Cisler <pavel@eazel.com> + */ + +#pragma once + +#include "nautilus-files-view.h" + +void nautilus_files_view_handle_uri_list_drop (NautilusFilesView *view, + const char *item_uris, + const char *target_uri, + GdkDragAction action); +void nautilus_files_view_handle_text_drop (NautilusFilesView *view, + const char *text, + const char *target_uri, + GdkDragAction action); +void nautilus_files_view_handle_raw_drop (NautilusFilesView *view, + const char *raw_data, + int length, + const char *target_uri, + const char *direct_save_uri, + GdkDragAction action); +void nautilus_files_view_handle_hover (NautilusFilesView *view, + const char *target_uri); +void nautilus_files_view_handle_netscape_url_drop (NautilusFilesView *view, + const char *encoded_url, + const char *target_uri, + GdkDragAction action); + +void nautilus_files_view_drop_proxy_received_uris (NautilusFilesView *view, + const GList *uris, + const char *target_location, + GdkDragAction action); |