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

« back to all changes in this revision

Viewing changes to libbrasero-utils/brasero-pk.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2011-03-29 16:33:51 UTC
  • mfrom: (1.3.18 upstream) (5.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110329163351-ac3wgbh4mplmhnht
Tags: 2.91.93-1
* Only depend on growisofs instead of dvd+rw-tools.
* New upstream pre-release.
* Update build-dependencies, package names, and paths.
* Require totem-plparser 2.32 since its soname changed.
* Do not include GIR package for now, since the versioning is broken 
  (see Bugzilla #646069).
* 01_pkglibdir.patch: dropped, upstream now has a variable we can use 
  for that effect.
* 11_nautilus_menu_no_display.patch, 31_link_libice.patch, 
  50_checksum.patch: dropped, merged upstream.
* 90_relibtoolize.patch: dropped, unnecessary.

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
 * Libbrasero-burn
 
4
 * Copyright (C) Luis Medinas 2008 <lmedinas@gmail.com>
 
5
 * Copyright (C) Philippe Rouquier 2008 <bonfire-app@wanadoo.fr>
 
6
 *
 
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.
 
11
 *
 
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.
 
19
 * 
 
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.
 
24
 * 
 
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.
 
30
 */
 
31
 
 
32
#ifndef _BRASERO_PK_H_
 
33
#define _BRASERO_PK_H_
 
34
 
 
35
#include <glib-object.h>
 
36
 
 
37
G_BEGIN_DECLS
 
38
 
 
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))
 
45
 
 
46
typedef struct _BraseroPKClass BraseroPKClass;
 
47
typedef struct _BraseroPK BraseroPK;
 
48
 
 
49
struct _BraseroPKClass
 
50
{
 
51
        GObjectClass parent_class;
 
52
};
 
53
 
 
54
struct _BraseroPK
 
55
{
 
56
        GObject parent_instance;
 
57
};
 
58
 
 
59
GType brasero_pk_get_type (void) G_GNUC_CONST;
 
60
 
 
61
BraseroPK *brasero_pk_new (void);
 
62
 
 
63
gboolean
 
64
brasero_pk_install_gstreamer_plugin (BraseroPK *package,
 
65
                                     const gchar *element_name,
 
66
                                     int xid,
 
67
                                     GCancellable *cancel);
 
68
gboolean
 
69
brasero_pk_install_missing_app (BraseroPK *package,
 
70
                                const gchar *file_name,
 
71
                                int xid,
 
72
                                GCancellable *cancel);
 
73
gboolean
 
74
brasero_pk_install_missing_library (BraseroPK *package,
 
75
                                    const gchar *library_name,
 
76
                                    int xid,
 
77
                                    GCancellable *cancel);
 
78
 
 
79
G_END_DECLS
 
80
 
 
81
#endif /* _BRASERO_PK_H_ */