1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Luis Medinas 2008 <lmedinas@gmail.com>
5
* Copyright (C) Philippe Rouquier 2008 <bonfire-app@wanadoo.fr>
7
* Libbrasero-burn is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* The Libbrasero-burn authors hereby grant permission for non-GPL compatible
13
* GStreamer plugins to be used and distributed together with GStreamer
14
* and Libbrasero-burn. This permission is above and beyond the permissions granted
15
* by the GPL license by which Libbrasero-burn is covered. If you modify this code
16
* you may extend this exception to your version of the code, but you are not
17
* obligated to do so. If you do not wish to do so, delete this exception
18
* statement from your version.
20
* Libbrasero-burn is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU Library General Public License for more details.
25
* You should have received a copy of the GNU General Public License
26
* along with this program; if not, write to:
27
* The Free Software Foundation, Inc.,
28
* 51 Franklin Street, Fifth Floor
29
* Boston, MA 02110-1301, USA.
32
#ifndef _BRASERO_PK_H_
33
#define _BRASERO_PK_H_
35
#include <glib-object.h>
39
#define BRASERO_TYPE_PK (brasero_pk_get_type ())
40
#define BRASERO_PK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_PK, BraseroPK))
41
#define BRASERO_PK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_PK, BraseroPKClass))
42
#define BRASERO_IS_PK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_PK))
43
#define BRASERO_IS_PK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_PK))
44
#define BRASERO_PK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_PK, BraseroPKClass))
46
typedef struct _BraseroPKClass BraseroPKClass;
47
typedef struct _BraseroPK BraseroPK;
49
struct _BraseroPKClass
51
GObjectClass parent_class;
56
GObject parent_instance;
59
GType brasero_pk_get_type (void) G_GNUC_CONST;
61
BraseroPK *brasero_pk_new (void);
64
brasero_pk_install_gstreamer_plugin (BraseroPK *package,
65
const gchar *element_name,
67
GCancellable *cancel);
69
brasero_pk_install_missing_app (BraseroPK *package,
70
const gchar *file_name,
72
GCancellable *cancel);
74
brasero_pk_install_missing_library (BraseroPK *package,
75
const gchar *library_name,
77
GCancellable *cancel);
81
#endif /* _BRASERO_PK_H_ */