2 * This file is part of hildon-libs
4 * Copyright (C) 2005 Nokia Corporation.
6 * Contact: Luc Pionchon <luc.pionchon@nokia.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 #ifndef __HILDON_WIZARD_DIALOG_H__
26 #define __HILDON_WIZARD_DIALOG_H__
28 #include<gtk/gtkwidget.h>
29 #include<gtk/gtkwindow.h>
30 #include<gtk/gtknotebook.h>
31 #include<gtk/gtkdialog.h>
34 #define HILDON_TYPE_WIZARD_DIALOG ( hildon_wizard_dialog_get_type() )
35 #define HILDON_WIZARD_DIALOG(obj) (GTK_CHECK_CAST (obj,\
36 HILDON_TYPE_WIZARD_DIALOG, HildonWizardDialog))
37 #define HILDON_WIZARD_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass),\
38 HILDON_TYPE_WIZARD_DIALOG, HildonWizardDialogClass))
39 #define HILDON_IS_WIZARD_DIALOG(obj) (GTK_CHECK_TYPE (obj,\
40 HILDON_TYPE_WIZARD_DIALOG))
41 #define HILDON_IS_WIZARD_DIALOG_CLASS(klass) \
42 (GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_WIZARD_DIALOG))
43 typedef struct _HildonWizardDialog HildonWizardDialog;
44 typedef struct _HildonWizardDialogClass HildonWizardDialogClass;
45 typedef struct _HildonWizardDialogPrivate HildonWizardDialogPrivate;
49 HILDON_WIZARD_DIALOG_CANCEL,
50 HILDON_WIZARD_DIALOG_PREVIOUS,
51 HILDON_WIZARD_DIALOG_NEXT,
52 HILDON_WIZARD_DIALOG_FINISH
55 struct _HildonWizardDialog {
57 HildonWizardDialogPrivate *priv;
60 struct _HildonWizardDialogClass {
61 GtkDialogClass parent_class;
62 void (*_gtk_reserved1) (void);
63 void (*_gtk_reserved2) (void);
64 void (*_gtk_reserved3) (void);
65 void (*_gtk_reserved4) (void);
69 GType hildon_wizard_dialog_get_type(void) G_GNUC_CONST;
71 GtkWidget *hildon_wizard_dialog_new(GtkWindow * parent,
72 const char *wizard_name,
73 GtkNotebook * notebook);