~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/brasero-project-size.h

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-11-18 11:30:50 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20081118113050-yhrskmatlel0gzfm
Tags: upstream-0.8.3
ImportĀ upstreamĀ versionĀ 0.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *            brasero-project-size.h
3
 
 *
4
 
 *  jeu jui 27 11:54:52 2006
5
 
 *  Copyright  2006  Rouquier Philippe
6
 
 *  brasero-app@wanadoo.fr
7
 
 ***************************************************************************/
8
 
 
9
 
/*
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.
14
 
 *
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.
19
 
 *
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.
25
 
 */
26
 
 
27
 
#ifndef BRASERO_PROJECT_SIZE_H
28
 
#define BRASERO_PROJECT_SIZE_H
29
 
 
30
 
#include <glib.h>
31
 
#include <glib-object.h>
32
 
 
33
 
#include <gtk/gtkwidget.h>
34
 
#include <gtk/gtkcontainer.h>
35
 
 
36
 
#include "brasero-project-type-chooser.h"
37
 
#include "burn-medium.h"
38
 
 
39
 
G_BEGIN_DECLS
40
 
 
41
 
#define BRASERO_TYPE_PROJECT_SIZE         (brasero_project_size_get_type ())
42
 
#define BRASERO_PROJECT_SIZE(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSize))
43
 
#define BRASERO_PROJECT_SIZE_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSizeClass))
44
 
#define BRASERO_IS_PROJECT_SIZE(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_PROJECT_SIZE))
45
 
#define BRASERO_IS_PROJECT_SIZE_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_PROJECT_SIZE))
46
 
#define BRASERO_PROJECT_SIZE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_PROJECT_SIZE, BraseroProjectSizeClass))
47
 
 
48
 
typedef struct _BraseroProjectSize BraseroProjectSize;
49
 
typedef struct _BraseroProjectSizePrivate BraseroProjectSizePrivate;
50
 
typedef struct _BraseroProjectSizeClass BraseroProjectSizeClass;
51
 
 
52
 
struct _BraseroProjectSize {
53
 
        GtkContainer parent;
54
 
        BraseroProjectSizePrivate *priv;
55
 
};
56
 
 
57
 
struct _BraseroProjectSizeClass {
58
 
        GtkContainerClass parent_class;
59
 
 
60
 
        void    (*disc_changed)         (BraseroProjectSize *size);
61
 
};
62
 
 
63
 
GType brasero_project_size_get_type ();
64
 
GtkWidget *brasero_project_size_new ();
65
 
 
66
 
gint
67
 
brasero_project_get_ruler_height (BraseroProjectSize *self);
68
 
 
69
 
void
70
 
brasero_project_size_set_sectors (BraseroProjectSize *self,
71
 
                                  gint64 sectors);
72
 
 
73
 
void
74
 
brasero_project_size_set_multisession (BraseroProjectSize *self,
75
 
                                       gboolean multi);
76
 
 
77
 
void
78
 
brasero_project_size_set_context (BraseroProjectSize *self,
79
 
                                  BraseroProjectType type);
80
 
 
81
 
gboolean
82
 
brasero_project_size_check_status (BraseroProjectSize *self,
83
 
                                   gboolean *overburn);
84
 
 
85
 
BraseroMedium *
86
 
brasero_project_size_get_active_medium (BraseroProjectSize *self);
87
 
 
88
 
G_END_DECLS
89
 
 
90
 
#endif /* BRASERO_PROJECT_SIZE_H */