Add Ctrl+space customization.
[platform/upstream/ibus.git] / src / ibusutil.h
1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
2 /* vim:set et sts=4: */
3 /* bus - The Input Bus
4  * Copyright (C) 2008-2011 Peng Huang <shawn.p.huang@gmail.com>
5  * Copyright (C) 2010-2011 Takao Fujiwara <takao.fujiwara1@gmail.com>
6  * Copyright (C) 2008-2011 Red Hat, Inc.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
25 #error "Only <ibus.h> can be included directly"
26 #endif
27
28 /**
29  * SECTION: ibusutil
30  * @short_description: Utilities with C-Language.
31  * @stability: Unstable
32  *
33  * Utilized functions are available for miscellaneous purposes.
34  */
35
36 #ifndef __IBUS_UTIL_H_
37 #define __IBUS_UTIL_H_
38
39 /**
40  * ibus_get_language_name:
41  * @_locale: A const locale name.
42  * @returns: language name
43  */
44 const gchar *    ibus_get_language_name         (const gchar    *_locale);
45
46 #endif