~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/brasero-drive-selection.h

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-11-18 11:30:50 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20081118113050-yhrskmatlel0gzfm
Tags: upstream-0.8.3
ImportĀ upstreamĀ versionĀ 0.8.3

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_DRIVE_SELECTION_H_
24
 
#define _BRASERO_DRIVE_SELECTION_H_
25
 
 
26
 
#include <glib-object.h>
27
 
#include <gtk/gtkvbox.h>
28
 
 
29
 
#include "burn-medium-monitor.h"
30
 
#include "burn-medium.h"
31
 
#include "burn-drive.h"
32
 
 
33
 
G_BEGIN_DECLS
34
 
 
35
 
#define BRASERO_TYPE_DRIVE_SELECTION             (brasero_drive_selection_get_type ())
36
 
#define BRASERO_DRIVE_SELECTION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelection))
37
 
#define BRASERO_DRIVE_SELECTION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelectionClass))
38
 
#define BRASERO_IS_DRIVE_SELECTION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DRIVE_SELECTION))
39
 
#define BRASERO_IS_DRIVE_SELECTION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DRIVE_SELECTION))
40
 
#define BRASERO_DRIVE_SELECTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelectionClass))
41
 
 
42
 
typedef struct _BraseroDriveSelectionClass BraseroDriveSelectionClass;
43
 
typedef struct _BraseroDriveSelection BraseroDriveSelection;
44
 
 
45
 
struct _BraseroDriveSelectionClass
46
 
{
47
 
        GtkVBoxClass parent_class;
48
 
 
49
 
        void    (*drive_changed)        (BraseroDriveSelection *selection,
50
 
                                         BraseroDrive *drive);
51
 
};
52
 
 
53
 
struct _BraseroDriveSelection
54
 
{
55
 
        GtkVBox parent_instance;
56
 
};
57
 
 
58
 
GType brasero_drive_selection_get_type (void) G_GNUC_CONST;
59
 
 
60
 
GtkWidget *
61
 
brasero_drive_selection_new (void);
62
 
 
63
 
void
64
 
brasero_drive_selection_lock (BraseroDriveSelection *selection,
65
 
                              gboolean locked);
66
 
 
67
 
gboolean
68
 
brasero_drive_selection_set_drive (BraseroDriveSelection *selection,
69
 
                                   BraseroDrive *drive);
70
 
 
71
 
void
72
 
brasero_drive_selection_set_tooltip (BraseroDriveSelection *selection,
73
 
                                     const gchar *tooltip);
74
 
 
75
 
BraseroDrive *
76
 
brasero_drive_selection_get_drive (BraseroDriveSelection *selection);
77
 
 
78
 
BraseroMedium *
79
 
brasero_drive_selection_get_medium (BraseroDriveSelection *selection);
80
 
 
81
 
void
82
 
brasero_drive_selection_set_button (BraseroDriveSelection *selection,
83
 
                                    GtkWidget *button);
84
 
 
85
 
void
86
 
brasero_drive_selection_set_type_shown (BraseroDriveSelection *self,
87
 
                                        BraseroMediaType type);
88
 
 
89
 
G_END_DECLS
90
 
 
91
 
#endif /* _BRASERO_DRIVE_SELECTION_H_ */