1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Philippe Rouquier 2007-2008 <bonfire-app@wanadoo.fr>
6
* Brasero is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* brasero is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
* See the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with brasero. If not, write to:
18
* The Free Software Foundation, Inc.,
19
* 51 Franklin Street, Fifth Floor
20
* Boston, MA 02110-1301, USA.
23
#ifndef _BRASERO_DATA_VFS_H_
24
#define _BRASERO_DATA_VFS_H_
26
#include <glib-object.h>
28
#include "brasero-data-session.h"
32
#define BRASERO_FILTER_HIDDEN_KEY "/apps/brasero/filter/hidden"
33
#define BRASERO_FILTER_BROKEN_SYM_KEY "/apps/brasero/filter/broken_sym"
34
#define BRASERO_REPLACE_SYMLINK_KEY "/apps/brasero/filter/replace_sym"
37
/* Following means it has been removed */
38
BRASERO_FILTER_NONE = 0,
39
BRASERO_FILTER_HIDDEN = 1,
40
BRASERO_FILTER_UNREADABLE,
41
BRASERO_FILTER_BROKEN_SYM,
42
BRASERO_FILTER_RECURSIVE_SYM,
43
BRASERO_FILTER_UNKNOWN
44
} BraseroFilterStatus;
46
#define BRASERO_TYPE_DATA_VFS (brasero_data_vfs_get_type ())
47
#define BRASERO_DATA_VFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DATA_VFS, BraseroDataVFS))
48
#define BRASERO_DATA_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DATA_VFS, BraseroDataVFSClass))
49
#define BRASERO_IS_DATA_VFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DATA_VFS))
50
#define BRASERO_IS_DATA_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DATA_VFS))
51
#define BRASERO_DATA_VFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DATA_VFS, BraseroDataVFSClass))
53
typedef struct _BraseroDataVFSClass BraseroDataVFSClass;
54
typedef struct _BraseroDataVFS BraseroDataVFS;
56
struct _BraseroDataVFSClass
58
BraseroDataSessionClass parent_class;
60
void (*activity_changed) (BraseroDataVFS *vfs,
64
struct _BraseroDataVFS
66
BraseroDataSession parent_instance;
69
GType brasero_data_vfs_get_type (void) G_GNUC_CONST;
72
brasero_data_vfs_is_active (BraseroDataVFS *vfs);
75
brasero_data_vfs_is_loading_uri (BraseroDataVFS *vfs);
78
brasero_data_vfs_get_restored (BraseroDataVFS *vfs,
81
brasero_data_vfs_add_restored (BraseroDataVFS *vfs,
82
const gchar *restored);
84
brasero_data_vfs_remove_restored (BraseroDataVFS *vfs,
85
const gchar *restored);
88
brasero_data_vfs_load_mime (BraseroDataVFS *vfs,
89
BraseroFileNode *node);
92
brasero_data_vfs_require_node_load (BraseroDataVFS *vfs,
93
BraseroFileNode *node);
96
brasero_data_vfs_require_directory_contents (BraseroDataVFS *vfs,
97
BraseroFileNode *node);
101
#endif /* _BRASERO_DATA_VFS_H_ */