WIP fix gtk3 setup issues
[platform/upstream/ibus.git] / dconf / config.h
1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
2 /* vim:set et sts=4: */
3 /* ibus - The Input Bus
4  * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
5  * Copyright (C) 2008-2010 Red Hat, Inc.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22 #ifndef __CONFIG_DCONF_H__
23 #define __CONFIG_DCONF_H__
24
25 #include <ibus.h>
26 #include <dconf/dconf.h>
27
28 #define IBUS_TYPE_CONFIG_DCONF            \
29     (ibus_config_dconf_get_type ())
30 #define IBUS_CONFIG_DCONF(obj)            \
31     (G_TYPE_CHECK_INSTANCE_CAST ((obj), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConf))
32 #define IBUS_CONFIG_DCONF_CLASS(klass)     \
33     (G_TYPE_CHECK_CLASS_CAST ((klass), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConfClass))
34 #define IBUS_IS_CONFIG_DCONF(obj)          \
35     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IBUS_TYPE_CONFIG_DCONF))
36 #define IBUS_IS_CONFIG_DCONF_CLASS(klass)  \
37     (G_TYPE_CHECK_CLASS_TYPE ((klass), IBUS_TYPE_CONFIG_DCONF))
38 #define IBUS_CONFIG_DCONF_GET_CLASS(obj)   \
39     (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_CONFIG_DCONF, IBusConfigDConfClass))
40
41 typedef struct _IBusConfigDConf IBusConfigDConf;
42 typedef struct _IBusConfigDConfClass IBusConfigDConfClass;
43
44 GType            ibus_config_dconf_get_type (void);
45 IBusConfigDConf *ibus_config_dconf_new      (GDBusConnection *connection);
46
47 #endif