2 * This file is a part of hildon
4 * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
6 * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7 * Fixes: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * as published by the Free Software Foundation; version 2.1 of
12 * the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
26 #ifndef __HILDON_WIZARD_DIALOG_H__
27 #define __HILDON_WIZARD_DIALOG_H__
29 #include <gtk/gtkwidget.h>
30 #include <gtk/gtkwindow.h>
31 #include <gtk/gtknotebook.h>
32 #include <gtk/gtkdialog.h>
36 #define HILDON_TYPE_WIZARD_DIALOG \
37 (hildon_wizard_dialog_get_type())
39 #define HILDON_WIZARD_DIALOG(obj) (GTK_CHECK_CAST ((obj), \
40 HILDON_TYPE_WIZARD_DIALOG, HildonWizardDialog))
42 #define HILDON_WIZARD_DIALOG_CLASS(klass) \
43 (GTK_CHECK_CLASS_CAST ((klass), \
44 HILDON_TYPE_WIZARD_DIALOG, HildonWizardDialogClass))
46 #define HILDON_IS_WIZARD_DIALOG(obj) \
47 (GTK_CHECK_TYPE ((obj), \
48 HILDON_TYPE_WIZARD_DIALOG))
50 #define HILDON_IS_WIZARD_DIALOG_CLASS(klass) \
51 (GTK_CHECK_CLASS_TYPE ((klass), \
52 HILDON_TYPE_WIZARD_DIALOG))
54 typedef struct _HildonWizardDialog HildonWizardDialog;
56 typedef struct _HildonWizardDialogClass HildonWizardDialogClass;
58 /* button response IDs */
62 HILDON_WIZARD_DIALOG_CANCEL = GTK_RESPONSE_CANCEL,
63 HILDON_WIZARD_DIALOG_PREVIOUS = 0,
64 HILDON_WIZARD_DIALOG_NEXT,
65 HILDON_WIZARD_DIALOG_FINISH
66 } HildonWizardDialogResponse;
68 struct _HildonWizardDialog
73 struct _HildonWizardDialogClass
75 GtkDialogClass parent_class;
79 hildon_wizard_dialog_get_type (void);
82 hildon_wizard_dialog_new (GtkWindow *parent,
83 const char *wizard_name,
84 GtkNotebook *notebook);
88 #endif /* __HILDON_WIZARD_DIALOG_H__ */