Debian Codegraph @

libbrasero-burn/brasero-data-vfs.h

raw symbols SCIP
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3 * Libbrasero-burn
4 * Copyright (C) Philippe Rouquier 2005-2009 <[email protected]>
5 *
6 * Libbrasero-burn 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.
10 *
11 * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
12 * GStreamer plugins to be used and distributed together with GStreamer
13 * and Libbrasero-burn. This permission is above and beyond the permissions granted
14 * by the GPL license by which Libbrasero-burn is covered. If you modify this code
15 * you may extend this exception to your version of the code, but you are not
16 * obligated to do so. If you do not wish to do so, delete this exception
17 * statement from your version.
18 *
19 * Libbrasero-burn is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Library General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to:
26 * The Free Software Foundation, Inc.,
27 * 51 Franklin Street, Fifth Floor
28 * Boston, MA 02110-1301, USA.
29 */
30
31 #ifndef _BRASERO_DATA_VFS_H_
32 #define _BRASERO_DATA_VFS_H_
33
34 #include <glib-object.h>
35 #include <gtk/gtk.h>
36
37 #include "brasero-data-session.h"
38 #include "brasero-filtered-uri.h"
39
40 G_BEGIN_DECLS
41
42 #define BRASERO_SCHEMA_FILTER "org.gnome.brasero.filter"
43 #define BRASERO_PROPS_FILTER_HIDDEN "hidden"
44 #define BRASERO_PROPS_FILTER_BROKEN "broken-sym"
45 #define BRASERO_PROPS_FILTER_REPLACE_SYMLINK "replace-sym"
46
47 #define BRASERO_TYPE_DATA_VFS (brasero_data_vfs_get_type ())
48 #define BRASERO_DATA_VFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DATA_VFS, BraseroDataVFS))
49 #define BRASERO_DATA_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DATA_VFS, BraseroDataVFSClass))
50 #define BRASERO_IS_DATA_VFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DATA_VFS))
51 #define BRASERO_IS_DATA_VFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DATA_VFS))
52 #define BRASERO_DATA_VFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DATA_VFS, BraseroDataVFSClass))
53
54 typedef struct _BraseroDataVFSClass BraseroDataVFSClass;
55 typedef struct _BraseroDataVFS BraseroDataVFS;
56
57 struct _BraseroDataVFSClass
58 {
59 BraseroDataSessionClass parent_class;
60
61 void (*activity_changed) (BraseroDataVFS *vfs,
62 gboolean active);
63 };
64
65 struct _BraseroDataVFS
66 {
67 BraseroDataSession parent_instance;
68 };
69
70 GType brasero_data_vfs_get_type (void) G_GNUC_CONST;
71
72 gboolean
73 brasero_data_vfs_is_active (BraseroDataVFS *vfs);
74
75 gboolean
76 brasero_data_vfs_is_loading_uri (BraseroDataVFS *vfs);
77
78 gboolean
79 brasero_data_vfs_load_mime (BraseroDataVFS *vfs,
80 BraseroFileNode *node);
81
82 gboolean
83 brasero_data_vfs_require_node_load (BraseroDataVFS *vfs,
84 BraseroFileNode *node);
85
86 gboolean
87 brasero_data_vfs_require_directory_contents (BraseroDataVFS *vfs,
88 BraseroFileNode *node);
89
90 BraseroFilteredUri *
91 brasero_data_vfs_get_filtered_model (BraseroDataVFS *vfs);
92
93 G_END_DECLS
94
95 #endif /* _BRASERO_DATA_VFS_H_ */