1
/***************************************************************************
2
* brasero-tool-dialog.h
4
* ven sep 1 19:45:01 2006
5
* Copyright 2006 Rouquier Philippe
6
* bonfire-app@wanadoo.fr
7
***************************************************************************/
10
* Brasero is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* Brasero is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to:
22
* The Free Software Foundation, Inc.,
23
* 51 Franklin Street, Fifth Floor
24
* Boston, MA 02110-1301, USA.
27
#ifndef BRASERO_TOOL_DIALOG_H
28
#define BRASERO_TOOL_DIALOG_H
31
#include <glib-object.h>
35
#include "burn-basics.h"
38
#include "brasero-medium.h"
39
#include "burn-session.h"
40
#include "brasero-medium-monitor.h"
44
#define BRASERO_TYPE_TOOL_DIALOG (brasero_tool_dialog_get_type ())
45
#define BRASERO_TOOL_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialog))
46
#define BRASERO_TOOL_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialogClass))
47
#define BRASERO_IS_TOOL_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_TOOL_DIALOG))
48
#define BRASERO_IS_TOOL_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_TOOL_DIALOG))
49
#define BRASERO_TOOL_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_TOOL_DIALOG, BraseroToolDialogClass))
51
typedef struct _BraseroToolDialog BraseroToolDialog;
52
typedef struct _BraseroToolDialogPrivate BraseroToolDialogPrivate;
53
typedef struct _BraseroToolDialogClass BraseroToolDialogClass;
55
struct _BraseroToolDialog {
57
BraseroToolDialogPrivate *priv;
60
struct _BraseroToolDialogClass {
61
GtkDialogClass parent_class;
63
gboolean (*activate) (BraseroToolDialog *dialog,
64
BraseroMedium *medium);
65
gboolean (*cancel) (BraseroToolDialog *dialog);
66
void (*drive_changed) (BraseroToolDialog *dialog,
67
BraseroMedium *medium);
70
GType brasero_tool_dialog_get_type ();
73
brasero_tool_dialog_cancel (BraseroToolDialog *self);
76
brasero_tool_dialog_pack_options (BraseroToolDialog *dialog, ...);
79
brasero_tool_dialog_set_button (BraseroToolDialog *dialog,
84
brasero_tool_dialog_set_valid (BraseroToolDialog *dialog,
87
brasero_tool_dialog_set_medium_type_shown (BraseroToolDialog *dialog,
88
BraseroMediaType media_type);
90
brasero_tool_dialog_set_progress (BraseroToolDialog *dialog,
91
gdouble overall_progress,
92
gdouble task_progress,
97
brasero_tool_dialog_set_action (BraseroToolDialog *dialog,
98
BraseroBurnAction action,
102
brasero_tool_dialog_get_burn (BraseroToolDialog *dialog);
105
brasero_tool_dialog_get_medium (BraseroToolDialog *dialog);
108
brasero_tool_dialog_set_medium (BraseroToolDialog *dialog,
109
BraseroMedium *medium);
113
#endif /* BRASERO_TOOL_DIALOG_H */