* src/hildon-*.c * src/hildon-*.h: Ensure a consistent include order, include <gtk...
[hildon] / src / hildon-color-chooser-dialog.h
1 /*
2  * This file is a part of hildon
3  *
4  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
5  *
6  * Author: Kuisma Salonen <kuisma.salonen@nokia.com>
7  * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8  *
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.
13  *
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.
18  *
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
22  * 02110-1301 USA
23  *
24  */
25
26 #ifndef                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
27 #define                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
28
29 #include                                        <gtk/gtk.h>
30
31 #define                                         HILDON_TYPE_COLOR_CHOOSER_DIALOG \
32                                                 (hildon_color_chooser_dialog_get_type())
33
34 #define                                         HILDON_COLOR_CHOOSER_DIALOG(obj) \
35                                                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
36                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
37                                                 HildonColorChooserDialog))
38
39 #define                                         HILDON_COLOR_CHOOSER_DIALOG_CLASS(klass) \
40                                                 (G_TYPE_CHECK_CLASS_CAST ((klass), \
41                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
42                                                 HildonColorChooserDialogClass))
43
44 #define                                         HILDON_IS_COLOR_CHOOSER_DIALOG(obj) \
45                                                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
46                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG))
47
48 typedef struct                                  _HildonColorChooserDialog HildonColorChooserDialog;
49
50 typedef struct                                  _HildonColorChooserDialogClass HildonColorChooserDialogClass;
51
52 struct                                          _HildonColorChooserDialog
53 {
54     GtkDialog parent;
55 };
56
57 struct                                          _HildonColorChooserDialogClass 
58 {
59     GtkDialogClass parent_class;
60 };
61
62 GType G_GNUC_CONST
63 hildon_color_chooser_dialog_get_type            (void);
64
65 GtkWidget*
66 hildon_color_chooser_dialog_new                 (void);
67
68 void
69 hildon_color_chooser_dialog_set_color           (HildonColorChooserDialog *dialog, 
70                                                  GdkColor *color);
71
72 void
73 hildon_color_chooser_dialog_get_color           (HildonColorChooserDialog *dialog,
74                                                  GdkColor *color);
75
76 #endif                                          /* __HILDON_COLOR_CHOOSER_DIALOG_H__ */