~ubuntu-branches/debian/experimental/brasero/experimental

« back to all changes in this revision

Viewing changes to src/brasero-data-vfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2009-09-09 21:02:15 UTC
  • mfrom: (1.3.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20090909210215-2a78qki0a1wyvtah
Tags: 2.27.92-2
Let libbrasero-media-dev depend on libdbus-glib-1-dev as it's required
by libbrasero-burn.pc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
/*
3
 
 * brasero
4
 
 * Copyright (C) Philippe Rouquier 2007-2008 <bonfire-app@wanadoo.fr>
5
 
 * 
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.
10
 
 * 
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.
15
 
 * 
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.
21
 
 */
22
 
 
23
 
#ifndef _BRASERO_DATA_VFS_H_
24
 
#define _BRASERO_DATA_VFS_H_
25
 
 
26
 
#include <glib-object.h>
27
 
 
28
 
#include "brasero-data-session.h"
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
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"
35
 
 
36
 
typedef enum {
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;
45
 
 
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))
52
 
 
53
 
typedef struct _BraseroDataVFSClass BraseroDataVFSClass;
54
 
typedef struct _BraseroDataVFS BraseroDataVFS;
55
 
 
56
 
struct _BraseroDataVFSClass
57
 
{
58
 
        BraseroDataSessionClass parent_class;
59
 
 
60
 
        void    (*activity_changed)     (BraseroDataVFS *vfs,
61
 
                                         gboolean active);
62
 
};
63
 
 
64
 
struct _BraseroDataVFS
65
 
{
66
 
        BraseroDataSession parent_instance;
67
 
};
68
 
 
69
 
GType brasero_data_vfs_get_type (void) G_GNUC_CONST;
70
 
 
71
 
gboolean
72
 
brasero_data_vfs_is_active (BraseroDataVFS *vfs);
73
 
 
74
 
gboolean
75
 
brasero_data_vfs_is_loading_uri (BraseroDataVFS *vfs);
76
 
 
77
 
gboolean
78
 
brasero_data_vfs_get_restored (BraseroDataVFS *vfs,
79
 
                               GSList **restored);
80
 
void
81
 
brasero_data_vfs_add_restored (BraseroDataVFS *vfs,
82
 
                               const gchar *restored);
83
 
void
84
 
brasero_data_vfs_remove_restored (BraseroDataVFS *vfs,
85
 
                                  const gchar *restored);
86
 
 
87
 
gboolean
88
 
brasero_data_vfs_load_mime (BraseroDataVFS *vfs,
89
 
                            BraseroFileNode *node);
90
 
 
91
 
gboolean
92
 
brasero_data_vfs_require_node_load (BraseroDataVFS *vfs,
93
 
                                    BraseroFileNode *node);
94
 
 
95
 
gboolean
96
 
brasero_data_vfs_require_directory_contents (BraseroDataVFS *vfs,
97
 
                                             BraseroFileNode *node);
98
 
 
99
 
G_END_DECLS
100
 
 
101
 
#endif /* _BRASERO_DATA_VFS_H_ */