1
/***************************************************************************
2
* brasero-project-size.h
4
* jeu jui 27 11:54:52 2006
5
* Copyright 2006 Rouquier Philippe
6
* brasero-app@wanadoo.fr
7
***************************************************************************/
10
* This program 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
* This program 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 the Free Software
22
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
#ifndef BRASERO_PROJECT_SIZE_H
26
#define BRASERO_PROJECT_SIZE_H
29
#include <glib-object.h>
31
#include <gtk/gtkwidget.h>
32
#include <gtk/gtkcontainer.h>
34
#include "burn-medium.h"
38
#define BRASERO_TYPE_PROJECT_SIZE (brasero_project_size_get_type ())
39
#define BRASERO_PROJECT_SIZE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSize))
40
#define BRASERO_PROJECT_SIZE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSizeClass))
41
#define BRASERO_IS_PROJECT_SIZE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_PROJECT_SIZE))
42
#define BRASERO_IS_PROJECT_SIZE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_PROJECT_SIZE))
43
#define BRASERO_PROJECT_SIZE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSizeClass))
45
typedef struct _BraseroProjectSize BraseroProjectSize;
46
typedef struct _BraseroProjectSizePrivate BraseroProjectSizePrivate;
47
typedef struct _BraseroProjectSizeClass BraseroProjectSizeClass;
49
struct _BraseroProjectSize {
51
BraseroProjectSizePrivate *priv;
54
struct _BraseroProjectSizeClass {
55
GtkContainerClass parent_class;
57
void (*disc_changed) (BraseroProjectSize *size);
60
GType brasero_project_size_get_type ();
61
GtkWidget *brasero_project_size_new ();
64
brasero_project_get_ruler_height (BraseroProjectSize *self);
67
brasero_project_size_set_sectors (BraseroProjectSize *self,
71
brasero_project_size_set_multisession (BraseroProjectSize *self,
75
brasero_project_size_set_context (BraseroProjectSize *self,
79
brasero_project_size_check_status (BraseroProjectSize *self,
83
brasero_project_size_get_active_medium (BraseroProjectSize *self);
87
#endif /* BRASERO_PROJECT_SIZE_H */