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) 2011-2013 Peng Huang <shawn.p.huang@gmail.com>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
19 * USA
20 */
21
22#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
23#error "Only <ibus.h> can be included directly"
24#endif
25
26#ifndef __IBUS_ERROR_H_
27#define __IBUS_ERROR_H_
28
29/**
30 * SECTION: ibuserror
31 * @short_description: Error functions and definition.
32 * @stability: Stable
33 *
34 * This file defines some error functions and definition.
35 */
36
37#include <glib.h>
38
39G_BEGIN_DECLS
40
41#define IBUS_ERROR ibus_error_quark()
42GQuark ibus_error_quark (void);
43
44G_END_DECLS
45#endif
46