3
* Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#if !defined(THUNAR_VFS_COMPILATION)
22
#error "Only <thunar-vfs/thunar-vfs.h> can be included directly, this file is not part of the public API."
25
#ifndef __THUNAR_VFS_IO_LOCAL_XFER_H__
26
#define __THUNAR_VFS_IO_LOCAL_XFER_H__
28
#include <thunar-vfs/thunar-vfs-io-ops.h>
33
* ThunarVfsIOLocalXferMode:
34
* @THUNAR_VFS_IO_LOCAL_XFER_COPY : generate path for copy.
35
* @THUNAR_VFS_IO_LOCAL_XFER_LINK : generate path for link.
37
* Modi for _thunar_vfs_io_local_xfer_next_path().
39
typedef enum /*< skip >*/
41
THUNAR_VFS_IO_LOCAL_XFER_COPY,
42
THUNAR_VFS_IO_LOCAL_XFER_LINK,
43
} ThunarVfsIOLocalXferMode;
45
ThunarVfsPath *_thunar_vfs_io_local_xfer_next_path (const ThunarVfsPath *source_path,
46
ThunarVfsPath *target_directory_path,
48
ThunarVfsIOLocalXferMode mode,
49
GError **error) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
51
gboolean _thunar_vfs_io_local_xfer_copy (const ThunarVfsPath *source_path,
52
ThunarVfsPath *target_path,
53
ThunarVfsIOOpsProgressCallback callback,
54
gpointer callback_data,
55
gboolean merge_directories,
56
GError **error) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
58
gboolean _thunar_vfs_io_local_xfer_link (const ThunarVfsPath *source_path,
59
ThunarVfsPath *target_path,
60
GError **error) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
65
#endif /* !__THUNAR_VFS_IO_LOCAL_XFER_H__ */