Add Ctrl+space customization.
[platform/upstream/ibus.git] / src / ibusinternal.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) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
5  * Copyright (C) 2008-2010 Red Hat, Inc.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22
23 #if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
24 #error "Only <ibus.h> can be included directly"
25 #endif
26
27 /**
28  * SECTION: ibusinternal
29  * @short_description: IBus internal.
30  * @title: IBusInternal
31  * @stability: Stable
32  *
33  * This section contain several IBus house keeping functions.
34  *
35  */
36 #ifndef __IBUS_INTERNEL_H_
37 #define __IBUS_INTERNEL_H_
38
39 #include <glib.h>
40 /**
41  * I_:
42  * @string: A string
43  * @returns: The canonical representation for the string.
44  *
45  * Returns a canonical representation for string.
46  * Interned strings can be compared for equality by comparing the pointers, instead of using strcmp().
47  */
48 #define I_(string) g_intern_static_string (string)
49
50 /**
51  * DBUS_SERVICE_DBUS:
52  *
53  * Address of D-Bus service.
54  */
55 #define DBUS_SERVICE_DBUS "org.freedesktop.DBus"
56
57 /**
58  * DBUS_PATH_DBUS:
59  *
60  * D-Bus path for D-Bus.
61  */
62 #define DBUS_PATH_DBUS "/org/freedesktop/DBus"
63
64 /**
65  * DBUS_INTERFACE_DBUS:
66  *
67  * D-Bus interface for D-Bus.
68  */
69 #define DBUS_INTERFACE_DBUS "org.freedesktop.DBus"
70
71 #endif
72