Add Ctrl+space customization.
[platform/upstream/ibus.git] / src / ibuserror.h
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 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 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
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, 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 /**
27  * SECTION: ibusshare
28  * @short_description: Shared utility functions and definition.
29  * @stability: Stable
30  *
31  * This file defines some utility functions and definition
32  * which are shared among ibus component and services.
33  */
34
35 #ifndef __IBUS_ERROR_H_
36 #define __IBUS_ERROR_H_
37
38 #include <glib.h>
39
40 G_BEGIN_DECLS
41
42 #define IBUS_ERROR ibus_error_quark()
43 GQuark ibus_error_quark (void);
44
45 G_END_DECLS
46 #endif