summaryrefslogtreecommitdiff
path: root/thunar-vfs/thunar-vfs.h
blob: 4f5d2b55c43248b066bfe55b6525a0552e0bb494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* $Id$ */
/*-
 * Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __THUNAR_VFS_H__
#define __THUNAR_VFS_H__

#define THUNAR_VFS_INSIDE_THUNAR_VFS_H

#include <thunar-vfs/thunar-vfs-enum-types.h>
#include <thunar-vfs/thunar-vfs-info.h>
#include <thunar-vfs/thunar-vfs-interactive-job.h>
#include <thunar-vfs/thunar-vfs-job.h>
#include <thunar-vfs/thunar-vfs-mime-application.h>
#include <thunar-vfs/thunar-vfs-mime-database.h>
#include <thunar-vfs/thunar-vfs-mime-info.h>
#include <thunar-vfs/thunar-vfs-monitor.h>
#include <thunar-vfs/thunar-vfs-path.h>
#include <thunar-vfs/thunar-vfs-thumb.h>
#include <thunar-vfs/thunar-vfs-user.h>
#include <thunar-vfs/thunar-vfs-util.h>
#include <thunar-vfs/thunar-vfs-volume.h>

#undef THUNAR_VFS_INSIDE_THUNAR_VFS_H

G_BEGIN_DECLS;

void          thunar_vfs_init             (void);
void          thunar_vfs_shutdown         (void);

ThunarVfsJob *thunar_vfs_listdir          (ThunarVfsPath    *path,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_create_file      (ThunarVfsPath    *path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_create_files     (GList            *path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_copy_file        (ThunarVfsPath    *source_path,
                                           ThunarVfsPath    *target_path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_copy_files       (GList            *source_path_list,
                                           GList            *target_path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_link_file        (ThunarVfsPath    *source_path,
                                           ThunarVfsPath    *target_path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_link_files       (GList            *source_path_list,
                                           GList            *target_path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_move_file        (ThunarVfsPath    *source_path,
                                           ThunarVfsPath    *target_path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_move_files       (GList            *source_path_list,
                                           GList            *target_path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_unlink_file      (ThunarVfsPath    *path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_unlink_files     (GList            *path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_make_directory   (ThunarVfsPath    *path,
                                           GError          **error) G_GNUC_MALLOC;
ThunarVfsJob *thunar_vfs_make_directories (GList            *path_list,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_change_mode      (ThunarVfsPath    *path,
                                           ThunarVfsFileMode dir_mask,
                                           ThunarVfsFileMode dir_mode,
                                           ThunarVfsFileMode file_mask,
                                           ThunarVfsFileMode file_mode,
                                           gboolean          recursive,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_change_group     (ThunarVfsPath    *path,
                                           ThunarVfsGroupId  gid,
                                           gboolean          recursive,
                                           GError          **error) G_GNUC_MALLOC;

ThunarVfsJob *thunar_vfs_change_owner     (ThunarVfsPath    *path,
                                           ThunarVfsUserId   uid,
                                           gboolean          recursive,
                                           GError          **error) G_GNUC_MALLOC;

G_END_DECLS;

#endif /* !__THUNAR_VFS_H__ */