1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
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 |
*
|
|
1.1.11
by Pedro Fragoso
Import upstream version 0.8.1 |
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.
|
|
1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
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_SESSION_H_
|
|
24 |
#define _BRASERO_DATA_SESSION_H_
|
|
25 |
||
26 |
#include <glib-object.h> |
|
27 |
||
1.1.16
by Pedro Fragoso
Import upstream version 0.9.1 |
28 |
#include "brasero-medium.h" |
1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
29 |
#include "brasero-data-project.h" |
30 |
||
31 |
G_BEGIN_DECLS
|
|
32 |
||
33 |
#define BRASERO_TYPE_DATA_SESSION (brasero_data_session_get_type ())
|
|
34 |
#define BRASERO_DATA_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DATA_SESSION, BraseroDataSession))
|
|
35 |
#define BRASERO_DATA_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DATA_SESSION, BraseroDataSessionClass))
|
|
36 |
#define BRASERO_IS_DATA_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DATA_SESSION))
|
|
37 |
#define BRASERO_IS_DATA_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DATA_SESSION))
|
|
38 |
#define BRASERO_DATA_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DATA_SESSION, BraseroDataSessionClass))
|
|
39 |
||
40 |
typedef struct _BraseroDataSessionClass BraseroDataSessionClass; |
|
41 |
typedef struct _BraseroDataSession BraseroDataSession; |
|
42 |
||
43 |
struct _BraseroDataSessionClass |
|
44 |
{
|
|
45 |
BraseroDataProjectClass parent_class; |
|
46 |
};
|
|
47 |
||
48 |
struct _BraseroDataSession |
|
49 |
{
|
|
50 |
BraseroDataProject parent_instance; |
|
51 |
};
|
|
52 |
||
53 |
GType brasero_data_session_get_type (void) G_GNUC_CONST; |
|
54 |
||
55 |
gboolean
|
|
56 |
brasero_data_session_add_last (BraseroDataSession *session, |
|
1.1.13
by Pedro Fragoso
Import upstream version 0.8.3 |
57 |
BraseroMedium *medium, |
1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
58 |
GError **error); |
1.1.13
by Pedro Fragoso
Import upstream version 0.8.3 |
59 |
void
|
60 |
brasero_data_session_remove_last (BraseroDataSession *session); |
|
61 |
||
62 |
BraseroMedium * |
|
1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
63 |
brasero_data_session_get_loaded_medium (BraseroDataSession *session); |
64 |
||
1.1.13
by Pedro Fragoso
Import upstream version 0.8.3 |
65 |
gboolean
|
66 |
brasero_data_session_load_directory_contents (BraseroDataSession *session, |
|
67 |
BraseroFileNode *node, |
|
68 |
GError **error); |
|
69 |
||
70 |
GSList * |
|
71 |
brasero_data_session_get_available_media (BraseroDataSession *session); |
|
72 |
||
73 |
gboolean
|
|
74 |
brasero_data_session_has_available_media (BraseroDataSession *session); |
|
1.1.9
by Pedro Fragoso
Import upstream version 0.7.91 |
75 |
|
76 |
G_END_DECLS
|
|
77 |
||
78 |
#endif /* _BRASERO_DATA_SESSION_H_ */ |