1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8-*- */
4
* Copyright (C) Philippe Rouquier 2007-2008 <bonfire-app@wanadoo.fr>
6
* brasero is free software.
8
* You may redistribute it and/or modify it under the terms of the
9
* GNU General Public License, as published by the Free Software
10
* Foundation; either version 2 of the License, or (at your option)
13
* brasero is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
* See the GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with brasero. If not, write to:
20
* The Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor
22
* Boston, MA 02110-1301, USA.
25
#ifndef _BRASERO_DRIVE_SELECTION_H_
26
#define _BRASERO_DRIVE_SELECTION_H_
28
#include <glib-object.h>
29
#include <gtk/gtkvbox.h>
31
#include "burn-medium-monitor.h"
32
#include "burn-medium.h"
33
#include "burn-drive.h"
37
#define BRASERO_TYPE_DRIVE_SELECTION (brasero_drive_selection_get_type ())
38
#define BRASERO_DRIVE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelection))
39
#define BRASERO_DRIVE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelectionClass))
40
#define BRASERO_IS_DRIVE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DRIVE_SELECTION))
41
#define BRASERO_IS_DRIVE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DRIVE_SELECTION))
42
#define BRASERO_DRIVE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DRIVE_SELECTION, BraseroDriveSelectionClass))
44
typedef struct _BraseroDriveSelectionClass BraseroDriveSelectionClass;
45
typedef struct _BraseroDriveSelection BraseroDriveSelection;
47
struct _BraseroDriveSelectionClass
49
GtkVBoxClass parent_class;
51
void (*drive_changed) (BraseroDriveSelection *selection,
55
struct _BraseroDriveSelection
57
GtkVBox parent_instance;
60
GType brasero_drive_selection_get_type (void) G_GNUC_CONST;
63
brasero_drive_selection_new (void);
66
brasero_drive_selection_lock (BraseroDriveSelection *selection,
70
brasero_drive_selection_set_drive (BraseroDriveSelection *selection,
74
brasero_drive_selection_set_tooltip (BraseroDriveSelection *selection,
75
const gchar *tooltip);
78
brasero_drive_selection_get_drive (BraseroDriveSelection *selection);
81
brasero_drive_selection_get_medium (BraseroDriveSelection *selection);
84
brasero_drive_selection_set_image_path (BraseroDriveSelection *selection,
88
brasero_drive_selection_set_same_src_dest (BraseroDriveSelection *selection);
91
brasero_drive_selection_set_button (BraseroDriveSelection *selection,
95
brasero_drive_selection_set_type_shown (BraseroDriveSelection *self,
96
BraseroMediaType type);
100
#endif /* _BRASERO_DRIVE_SELECTION_H_ */