1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8-*- */
4
* Copyright (C) PhiPhilippe Rouquier 2007-2008nfire-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. *
10
* brasero is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
* See the GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with brasero. If not, write to:
17
* The Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor
19
* Boston, MA 02110-1301, USA.
22
#ifndef _BRASERO_DRIVE_INFO_H_
23
#define _BRASERO_DRIVE_INFO_H_
25
#include <glib-object.h>
26
#include <gtk/gtkhbox.h>
28
#include "burn-medium.h"
32
#define BRASERO_TYPE_DRIVE_INFO (brasero_drive_info_get_type ())
33
#define BRASERO_DRIVE_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_DRIVE_INFO, BraseroDriveInfo))
34
#define BRASERO_DRIVE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_DRIVE_INFO, BraseroDriveInfoClass))
35
#define BRASERO_IS_DRIVE_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_DRIVE_INFO))
36
#define BRASERO_IS_DRIVE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_DRIVE_INFO))
37
#define BRASERO_DRIVE_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_DRIVE_INFO, BraseroDriveInfoClass))
39
typedef struct _BraseroDriveInfoClass BraseroDriveInfoClass;
40
typedef struct _BraseroDriveInfo BraseroDriveInfo;
42
struct _BraseroDriveInfoClass
44
GtkHBoxClass parent_class;
47
struct _BraseroDriveInfo
49
GtkHBox parent_instance;
52
GType brasero_drive_info_get_type (void) G_GNUC_CONST;
55
brasero_drive_info_new ();
58
brasero_drive_info_set_medium (BraseroDriveInfo *info,
59
BraseroMedium *medium);
62
brasero_drive_info_set_image_path (BraseroDriveInfo *info,
66
brasero_drive_info_set_same_src_dest (BraseroDriveInfo *info,
67
gboolean same_src_dest);
71
#endif /* _BRASERO_DRIVE_INFO_H_ */