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-2015 Peng Huang <shawn.p.huang@gmail.com>
5 * Copyright (C) 2010-2017 Takao Fujiwara <takao.fujiwara1@gmail.com>
6 * Copyright (C) 2008-2016 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.1 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 Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
21 * 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#ifndef __IBUS_UTIL_H_
29#define __IBUS_UTIL_H_
30
31/**
32 * SECTION: ibusutil
33 * @short_description: Utilities with C-Language.
34 * @stability: Unstable
35 *
36 * Utilized functions are available for miscellaneous purposes.
37 */
38
39/**
40 * ibus_get_untranslated_language_name:
41 * @_locale: A const locale name.
42 *
43 * Returns: untranslated language name
44 */
45const gchar * ibus_get_untranslated_language_name
46 (const gchar *_locale);
47
48/**
49 * ibus_get_language_name:
50 * @_locale: A const locale name.
51 *
52 * Returns: translated language name
53 */
54const gchar * ibus_get_language_name (const gchar *_locale);
55
56#endif
57