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) 2010, Google Inc. All rights reserved.
5 * Copyright (C) 2010 Peng Huang <shawn.p.huang@gmail.com>
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.
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.
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.
22 #ifndef __CONFIG_MEMCONF_H__
23 #define __CONFIG_MEMCONF_H__
27 #define IBUS_TYPE_CONFIG_MEMCONF \
28 (ibus_config_memconf_get_type ())
29 #define IBUS_CONFIG_MEMCONF(obj) \
30 (G_TYPE_CHECK_INSTANCE_CAST ((obj), IBUS_TYPE_CONFIG_MEMCONF, IBusConfigMemconf))
31 #define IBUS_CONFIG_MEMCONF_CLASS(klass) \
32 (G_TYPE_CHECK_CLASS_CAST ((klass), IBUS_TYPE_CONFIG_MEMCONF, IBusConfigMemconfClass))
33 #define IBUS_IS_CONFIG_MEMCONF(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IBUS_TYPE_CONFIG_MEMCONF))
35 #define IBUS_IS_CONFIG_MEMCONF_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_TYPE ((klass), IBUS_TYPE_CONFIG_MEMCONF))
37 #define IBUS_CONFIG_MEMCONF_GET_CLASS(obj) \
38 (G_TYPE_INSTANCE_GET_CLASS ((obj), IBUS_TYPE_CONFIG_MEMCONF, IBusConfigMemconfClass))
40 typedef struct _IBusConfigMemconf IBusConfigMemconf;
42 GType ibus_config_memconf_get_type (void);
43 IBusConfigMemconf *ibus_config_memconf_new (GDBusConnection *connection);