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; 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.
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.
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.
23
#ifndef _BRASERO_DRIVE_SELECTION_H_
24
#define _BRASERO_DRIVE_SELECTION_H_
26
#include <glib-object.h>
27
#include <gtk/gtkvbox.h>
29
#include "burn-medium-monitor.h"
30
#include "burn-medium.h"
31
#include "burn-drive.h"
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))
42
typedef struct _BraseroDriveSelectionClass BraseroDriveSelectionClass;
43
typedef struct _BraseroDriveSelection BraseroDriveSelection;
45
struct _BraseroDriveSelectionClass
47
GtkVBoxClass parent_class;
49
void (*drive_changed) (BraseroDriveSelection *selection,
53
struct _BraseroDriveSelection
55
GtkVBox parent_instance;
58
GType brasero_drive_selection_get_type (void) G_GNUC_CONST;
61
brasero_drive_selection_new (void);
64
brasero_drive_selection_lock (BraseroDriveSelection *selection,
68
brasero_drive_selection_set_drive (BraseroDriveSelection *selection,
72
brasero_drive_selection_set_tooltip (BraseroDriveSelection *selection,
73
const gchar *tooltip);
76
brasero_drive_selection_get_drive (BraseroDriveSelection *selection);
79
brasero_drive_selection_get_medium (BraseroDriveSelection *selection);
82
brasero_drive_selection_set_button (BraseroDriveSelection *selection,
86
brasero_drive_selection_set_type_shown (BraseroDriveSelection *self,
87
BraseroMediaType type);
91
#endif /* _BRASERO_DRIVE_SELECTION_H_ */