~noskcaj/ubuntu/vivid/thunar/1.6.4

« back to all changes in this revision

Viewing changes to thunar-vfs/thunar-vfs-io-local-xfer.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 16:46:20 UTC
  • mto: (2.1.3 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: james.westby@ubuntu.com-20101204164620-h7p4t2e9z6hfhz6l
Tags: upstream-1.1.4
ImportĀ upstreamĀ versionĀ 1.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id$ */
2
 
/*-
3
 
 * Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
4
 
 *
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.
9
 
 *
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.
14
 
 *
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.
19
 
 */
20
 
 
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."
23
 
#endif
24
 
 
25
 
#ifndef __THUNAR_VFS_IO_LOCAL_XFER_H__
26
 
#define __THUNAR_VFS_IO_LOCAL_XFER_H__
27
 
 
28
 
#include <thunar-vfs/thunar-vfs-io-ops.h>
29
 
 
30
 
G_BEGIN_DECLS;
31
 
 
32
 
/**
33
 
 * ThunarVfsIOLocalXferMode:
34
 
 * @THUNAR_VFS_IO_LOCAL_XFER_COPY : generate path for copy.
35
 
 * @THUNAR_VFS_IO_LOCAL_XFER_LINK : generate path for link.
36
 
 *
37
 
 * Modi for _thunar_vfs_io_local_xfer_next_path().
38
 
 **/
39
 
typedef enum /*< skip >*/
40
 
{
41
 
  THUNAR_VFS_IO_LOCAL_XFER_COPY,
42
 
  THUNAR_VFS_IO_LOCAL_XFER_LINK,
43
 
} ThunarVfsIOLocalXferMode;
44
 
 
45
 
ThunarVfsPath *_thunar_vfs_io_local_xfer_next_path (const ThunarVfsPath           *source_path,
46
 
                                                    ThunarVfsPath                 *target_directory_path,
47
 
                                                    guint                          n,
48
 
                                                    ThunarVfsIOLocalXferMode       mode,
49
 
                                                    GError                       **error) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
50
 
 
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;
57
 
 
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;
61
 
 
62
 
 
63
 
G_END_DECLS;
64
 
 
65
 
#endif /* !__THUNAR_VFS_IO_LOCAL_XFER_H__ */