4
* Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
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 and
10
* appearing in the file LICENSE.LGPL included in the package of this file.
11
* You can also redistribute it and/or modify it under the terms of
12
* the GNU General Public License as published by the Free Software Foundation and
13
* appearing in the file LICENSE.GPL included in the package of this file.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22
* @author Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
23
* @brief This header contains all the string constant used in communication between the agent and clients.
26
#ifndef SCIMBRIDGEMESSAGECONSTANT_H_
27
#define SCIMBRIDGEMESSAGECONSTANT_H_
29
#include "scim-bridge.h"
32
* The string constant of "set_preedit_mode" for messages.
34
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE[] = "set_preedit_mode";
37
* The string constant of "preedit_mode_changed" for messages.
39
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED[] = "preedit_mode_changed";
42
* The string constant of "embedded" for messages.
44
static const char SCIM_BRIDGE_MESSAGE_EMBEDDED[] = "embedded";
47
* The string constant of "floating" for messages.
49
static const char SCIM_BRIDGE_MESSAGE_FLOATING[] = "floating";
52
* The string constant of "hanging" for messages.
54
static const char SCIM_BRIDGE_MESSAGE_HANGING[] = "hanging";
57
* The string constant of "any" for messages.
59
static const char SCIM_BRIDGE_MESSAGE_ANY[] = "any";
62
* The string constant of "update_preedit" for messages.
64
static const char SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT[] = "update_preedit";
67
* The string constant of "preedit_updated" for messages.
69
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED[] = "preedit_updated";
72
* The string constant of "set_preedit_string" for messages.
74
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING[] = "set_preedit_string";
77
* The string constant of "set_preedit_attributes" for messages.
79
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES[] = "set_preedit_attributes";
82
* The string constant of "set_preedit_cursor_position" for messages.
84
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION[] = "set_preedit_cursor_position";
87
* The string constant of "set_preedit_shown" for messages.
89
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN[] = "set_preedit_shown";
92
* The string constant of "change_focus" for messages.
94
static const char SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS[] = "change_focus";
97
* The string constant of "focus_changed" for messages.
99
static const char SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED[] = "focus_changed";
102
* The string constant of "handle_key_event" for messages.
104
static const char SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT[] = "handle_key_event";
107
* The string constant of "key_event_handled" for messages.
109
static const char SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED[] ="key_event_handled";
112
* The string constant "set_cursor_location" for messages.
114
static const char SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION[] = "set_cursor_location";
117
* The string constant "cursor_location_changed" for messages.
119
static const char SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED[] = "cursor_location_changed";
122
* The string constant of "register_imcontext" for messages.
124
static const char SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT[] = "register_imcontext";
127
* The string constant of "imcontext_registered" for messages.
129
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED[] = "imcontext_registered";
132
* The string constant of "deregister_imcontext" for messages.
134
static const char SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT[] = "deregister_imcontext";
137
* The string constant of "imcontext_registered" for messages.
139
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED[] = "imcontext_deregister";
142
* The string constant of "reset_imcontext" for messages.
144
static const char SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT[] = "reset_imcontext";
147
* The string constant of "imcontext_reseted" for messages.
149
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED[] = "imcontext_reseted";
152
* The string constant of "forward_key_event" for messages.
154
static const char SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT[] = "forward_key_event";
157
* The string constant of "set_commit_string" for messages.
159
static const char SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING[] = "set_commit_string";
162
* The string constant of "commit_string" for messages.
164
static const char SCIM_BRIDGE_MESSAGE_COMMIT_STRING[] = "commit_string";
167
* The string constant of "commit" for messages.
169
static const char SCIM_BRIDGE_MESSAGE_STRING_COMMITED[] = "string_commited";
172
* The string constant of "beep" for messages.
174
static const char SCIM_BRIDGE_MESSAGE_BEEP[] = "beep";
177
* The string constant of "get_surrounding_text" for messages.
179
static const char SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT[] = "get_surrounding_text";
182
* The string constant of "delete_surrounding_text" for messages.
184
static const char SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT[] = "delete_surrounding_text";
187
* The string constant of "replace_surrounding_text" for messages.
189
static const char SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT[] = "replace_surrounding_text";
192
* The string constant of "surrounding_text_gotten" for messages.
194
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN[] = "surrounding_text_gotten";
197
* The string constant of "surrounding_text_deleted" for messages.
199
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED[] = "surrounding_text_deleted";
202
* The string constant of "surrounding_text_replaced" for messages.
204
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED[] = "surrounding_text_replaced";
207
* The string constant of "imengine_status_changed" for messages.
209
static const char SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED[] = "imengine_status_changed";
212
* The string constant of "enable_imcontext" for messages.
214
static const char SCIM_BRIDGE_MESSAGE_ENABLE_IMCONTEXT[] = "enable_imcontext";
217
* The string constant of "enabled" for messages.
219
static const char SCIM_BRIDGE_MESSAGE_ENABLED[] = "enabled";
222
* The string constant of "disable_imcontext" for messages.
224
static const char SCIM_BRIDGE_MESSAGE_DISABLE_IMCONTEXT[] = "disable_imcontext";
227
* The string constant of "disabled" for messages.
229
static const char SCIM_BRIDGE_MESSAGE_DISABLED[] = "disabled";
232
* The string constant of "shift" for messages.
234
static const char SCIM_BRIDGE_MESSAGE_SHIFT[] = "shift";
237
* The string constant of "control" for messages.
239
static const char SCIM_BRIDGE_MESSAGE_CONTROL[] = "control";
242
* The string constant of "alt" for messages.
244
static const char SCIM_BRIDGE_MESSAGE_ALT[] = "alt";
247
* The string constant of "meta" for messages.
249
static const char SCIM_BRIDGE_MESSAGE_META[] = "meta";
252
* The string constant of "super" for messages.
254
static const char SCIM_BRIDGE_MESSAGE_SUPER[] = "super";
257
* The string constant of "hyper" for messages.
259
static const char SCIM_BRIDGE_MESSAGE_HYPER[] = "hyper";
262
* The string constant of "caps_lock" for messages.
264
static const char SCIM_BRIDGE_MESSAGE_CAPS_LOCK[] = "caps_lock";
267
* The string constant of "num_lock" for messages.
269
static const char SCIM_BRIDGE_MESSAGE_NUM_LOCK[] = "num_lock";
272
* The string constant of "kana_ro" for messages.
274
static const char SCIM_BRIDGE_MESSAGE_KANA_RO[] = "kana_ro";
277
* The string constant of "unknown" for messages.
279
static const char SCIM_BRIDGE_MESSAGE_UNKNOWN[] = "unknown";
282
* The string constant of "true" for messages.
284
static const char SCIM_BRIDGE_MESSAGE_TRUE[] = "true";
287
* The string constant of "false" for messages.
289
static const char SCIM_BRIDGE_MESSAGE_FALSE[] = "false";
292
* The string constant of "none" for messages.
294
static const char SCIM_BRIDGE_MESSAGE_NONE[] = "none";
297
* The string constant of "decorate" for messages.
299
static const char SCIM_BRIDGE_MESSAGE_DECORATE[] = "decoreate";
302
* The string constant of "foreground" for messages.
304
static const char SCIM_BRIDGE_MESSAGE_FOREGROUND[] = "foreground";
307
* The string constant of "background" for messages.
309
static const char SCIM_BRIDGE_MESSAGE_BACKGROUND[] = "background";
312
* The string constant of "color" for messages.
314
static const char SCIM_BRIDGE_MESSAGE_COLOR[] = "#";
317
* The string constant of "underline" for messages.
319
static const char SCIM_BRIDGE_MESSAGE_UNDERLINE[] = "underline";
322
* The string constant of "hilight" for messages.
324
static const char SCIM_BRIDGE_MESSAGE_HIGHLIGHT[] = "highlight";
327
* The string constant of "reverse" for messages.
329
static const char SCIM_BRIDGE_MESSAGE_REVERSE[] = "reverse";
331
#endif /*SCIMBRIDGEMESSAGECONSTANT_H_*/