Put function name in the changelog.
[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                                        <gdk/gdkcolor.h>
30 #include                                        <gtk/gtkdialog.h>
31
32 #define                                         HILDON_TYPE_COLOR_CHOOSER_DIALOG \
33                                                 (hildon_color_chooser_dialog_get_type())
34
35 #define                                         HILDON_COLOR_CHOOSER_DIALOG(obj) \
36                                                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
38                                                 HildonColorChooserDialog))
39
40 #define                                         HILDON_COLOR_CHOOSER_DIALOG_CLASS(klass) \
41                                                 (G_TYPE_CHECK_CLASS_CAST ((klass), \
42                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
43                                                 HildonColorChooserDialogClass))
44
45 #define                                         HILDON_IS_COLOR_CHOOSER_DIALOG(obj) \
46                                                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47                                                 HILDON_TYPE_COLOR_CHOOSER_DIALOG))
48
49 typedef struct                                  _HildonColorChooserDialog HildonColorChooserDialog;
50
51 typedef struct                                  _HildonColorChooserDialogClass HildonColorChooserDialogClass;
52
53 struct                                          _HildonColorChooserDialog
54 {
55     GtkDialog parent;
56 };
57
58 struct                                          _HildonColorChooserDialogClass 
59 {
60     GtkDialogClass parent_class;
61 };
62
63 GType G_GNUC_CONST
64 hildon_color_chooser_dialog_get_type            (void);
65
66 GtkWidget*
67 hildon_color_chooser_dialog_new                 (void);
68
69 void
70 hildon_color_chooser_dialog_set_color           (HildonColorChooserDialog *dialog, 
71                                                  GdkColor *color);
72
73 void
74 hildon_color_chooser_dialog_get_color           (HildonColorChooserDialog *dialog,
75                                                  GdkColor *color);
76
77 #endif                                          /* __HILDON_COLOR_CHOOSER_DIALOG_H__ */