Blame src/ibusutil.h

Packit 3ff832
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
Packit 3ff832
/* vim:set et sts=4: */
Packit 3ff832
/* bus - The Input Bus
Packit 3ff832
 * Copyright (C) 2008-2015 Peng Huang <shawn.p.huang@gmail.com>
Packit 3ff832
 * Copyright (C) 2010-2017 Takao Fujiwara <takao.fujiwara1@gmail.com>
Packit 3ff832
 * Copyright (C) 2008-2016 Red Hat, Inc.
Packit 3ff832
 *
Packit 3ff832
 * This library is free software; you can redistribute it and/or
Packit 3ff832
 * modify it under the terms of the GNU Lesser General Public
Packit 3ff832
 * License as published by the Free Software Foundation; either
Packit 3ff832
 * version 2.1 of the License, or (at your option) any later version.
Packit 3ff832
 *
Packit 3ff832
 * This library is distributed in the hope that it will be useful,
Packit 3ff832
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 3ff832
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 3ff832
 * Lesser General Public License for more details.
Packit 3ff832
 *
Packit 3ff832
 * You should have received a copy of the GNU Lesser General Public
Packit 3ff832
 * License along with this library; if not, write to the Free Software
Packit 3ff832
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
Packit 3ff832
 * USA
Packit 3ff832
 */
Packit 3ff832
Packit 3ff832
#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
Packit 3ff832
#error "Only <ibus.h> can be included directly"
Packit 3ff832
#endif
Packit 3ff832
Packit 3ff832
#ifndef __IBUS_UTIL_H_
Packit 3ff832
#define __IBUS_UTIL_H_
Packit 3ff832
Packit 3ff832
/**
Packit 3ff832
 * SECTION: ibusutil
Packit 3ff832
 * @short_description: Utilities with C-Language.
Packit 3ff832
 * @stability: Unstable
Packit 3ff832
 *
Packit 3ff832
 * Utilized functions are available for miscellaneous purposes.
Packit 3ff832
 */
Packit 3ff832
Packit 3ff832
/**
Packit 3ff832
 * ibus_get_untranslated_language_name:
Packit 3ff832
 * @_locale: A const locale name.
Packit 3ff832
 *
Packit 3ff832
 * Returns: untranslated language name
Packit 3ff832
 */
Packit 3ff832
const gchar *    ibus_get_untranslated_language_name
Packit 3ff832
                                                (const gchar    *_locale);
Packit 3ff832
Packit 3ff832
/**
Packit 3ff832
 * ibus_get_language_name:
Packit 3ff832
 * @_locale: A const locale name.
Packit 3ff832
 *
Packit 3ff832
 * Returns: translated language name
Packit 3ff832
 */
Packit 3ff832
const gchar *    ibus_get_language_name         (const gchar    *_locale);
Packit 3ff832
Packit 3ff832
#endif