1 /*
2  * Copyright (C) 2010 Intel, Inc
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, see <http://www.gnu.org/licenses/>.
16  *
17  * Author: Sergey Udaltsov <svu@gnome.org>
18  *
19  */
20 
21 
22 #ifndef _GIS_KEYBOARD_PAGE_H
23 #define _GIS_KEYBOARD_PAGE_H
24 
25 #include "gnome-initial-setup.h"
26 
27 G_BEGIN_DECLS
28 
29 #define GIS_TYPE_KEYBOARD_PAGE gis_keyboard_page_get_type()
30 
31 #define GIS_KEYBOARD_PAGE(obj) \
32   (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33   GIS_TYPE_KEYBOARD_PAGE, GisKeyboardPage))
34 
35 #define GIS_KEYBOARD_PAGE_CLASS(klass) \
36   (G_TYPE_CHECK_CLASS_CAST ((klass), \
37   GIS_TYPE_KEYBOARD_PAGE, GisKeyboardPageClass))
38 
39 #define GIS_IS_KEYBOARD_PAGE(obj) \
40   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41   GIS_TYPE_KEYBOARD_PAGE))
42 
43 #define GIS_IS_KEYBOARD_PAGE_CLASS(klass) \
44   (G_TYPE_CHECK_CLASS_TYPE ((klass), \
45   GIS_TYPE_KEYBOARD_PAGE))
46 
47 #define GIS_KEYBOARD_PAGE_GET_CLASS(obj) \
48   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49   GIS_TYPE_KEYBOARD_PAGE, GisKeyboardPageClass))
50 
51 typedef struct _GisKeyboardPage GisKeyboardPage;
52 typedef struct _GisKeyboardPageClass GisKeyboardPageClass;
53 
54 struct _GisKeyboardPage
55 {
56   GisPage parent;
57 };
58 
59 struct _GisKeyboardPageClass
60 {
61   GisPageClass parent_class;
62 };
63 
64 GType gis_keyboard_page_get_type (void) G_GNUC_CONST;
65 
66 GisPage *gis_prepare_keyboard_page (GisDriver *driver);
67 
68 G_END_DECLS
69 
70 #endif /* _GIS_KEYBOARD_PAGE_H */
71