SCIMBridge  0.4.x
scim-bridge-message-constant.h
Go to the documentation of this file.
1 /*
2  * SCIM Bridge
3  *
4  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5  *
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 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.
14  *
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.
18  */
19 
26 #ifndef SCIMBRIDGEMESSAGECONSTANT_H_
27 #define SCIMBRIDGEMESSAGECONSTANT_H_
28 
29 #include "scim-bridge.h"
30 
34 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE[] = "set_preedit_mode";
35 
39 static const char SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED[] = "preedit_mode_changed";
40 
44 static const char SCIM_BRIDGE_MESSAGE_EMBEDDED[] = "embedded";
45 
49 static const char SCIM_BRIDGE_MESSAGE_FLOATING[] = "floating";
50 
54 static const char SCIM_BRIDGE_MESSAGE_HANGING[] = "hanging";
55 
59 static const char SCIM_BRIDGE_MESSAGE_ANY[] = "any";
60 
64 static const char SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT[] = "update_preedit";
65 
69 static const char SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED[] = "preedit_updated";
70 
74 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING[] = "set_preedit_string";
75 
79 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES[] = "set_preedit_attributes";
80 
84 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION[] = "set_preedit_cursor_position";
85 
89 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN[] = "set_preedit_shown";
90 
94 static const char SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS[] = "change_focus";
95 
99 static const char SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED[] = "focus_changed";
100 
104 static const char SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT[] = "handle_key_event";
105 
109 static const char SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED[] ="key_event_handled";
110 
114 static const char SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION[] = "set_cursor_location";
115 
119 static const char SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED[] = "cursor_location_changed";
120 
124 static const char SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT[] = "register_imcontext";
125 
129 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED[] = "imcontext_registered";
130 
134 static const char SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT[] = "deregister_imcontext";
135 
139 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED[] = "imcontext_deregister";
140 
144 static const char SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT[] = "reset_imcontext";
145 
149 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED[] = "imcontext_reseted";
150 
154 static const char SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT[] = "forward_key_event";
155 
159 static const char SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING[] = "set_commit_string";
160 
164 static const char SCIM_BRIDGE_MESSAGE_COMMIT_STRING[] = "commit_string";
165 
169 static const char SCIM_BRIDGE_MESSAGE_STRING_COMMITED[] = "string_commited";
170 
174 static const char SCIM_BRIDGE_MESSAGE_BEEP[] = "beep";
175 
179 static const char SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT[] = "get_surrounding_text";
180 
184 static const char SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT[] = "delete_surrounding_text";
185 
189 static const char SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT[] = "replace_surrounding_text";
190 
194 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN[] = "surrounding_text_gotten";
195 
199 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED[] = "surrounding_text_deleted";
200 
204 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED[] = "surrounding_text_replaced";
205 
209 static const char SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED[] = "imengine_status_changed";
210 
214 static const char SCIM_BRIDGE_MESSAGE_ENABLED[] = "enabled";
215 
219 static const char SCIM_BRIDGE_MESSAGE_DISABLED[] = "disabled";
220 
224 static const char SCIM_BRIDGE_MESSAGE_SHIFT[] = "shift";
225 
229 static const char SCIM_BRIDGE_MESSAGE_CONTROL[] = "control";
230 
234 static const char SCIM_BRIDGE_MESSAGE_ALT[] = "alt";
235 
239 static const char SCIM_BRIDGE_MESSAGE_META[] = "meta";
240 
244 static const char SCIM_BRIDGE_MESSAGE_SUPER[] = "super";
245 
249 static const char SCIM_BRIDGE_MESSAGE_HYPER[] = "hyper";
250 
254 static const char SCIM_BRIDGE_MESSAGE_CAPS_LOCK[] = "caps_lock";
255 
259 static const char SCIM_BRIDGE_MESSAGE_NUM_LOCK[] = "num_lock";
260 
264 static const char SCIM_BRIDGE_MESSAGE_KANA_RO[] = "kana_ro";
265 
269 static const char SCIM_BRIDGE_MESSAGE_UNKNOWN[] = "unknown";
270 
274 static const char SCIM_BRIDGE_MESSAGE_TRUE[] = "true";
275 
279 static const char SCIM_BRIDGE_MESSAGE_FALSE[] = "false";
280 
284 static const char SCIM_BRIDGE_MESSAGE_NONE[] = "none";
285 
289 static const char SCIM_BRIDGE_MESSAGE_DECORATE[] = "decoreate";
290 
294 static const char SCIM_BRIDGE_MESSAGE_FOREGROUND[] = "foreground";
295 
299 static const char SCIM_BRIDGE_MESSAGE_BACKGROUND[] = "background";
300 
304 static const char SCIM_BRIDGE_MESSAGE_COLOR[] = "#";
305 
309 static const char SCIM_BRIDGE_MESSAGE_UNDERLINE[] = "underline";
310 
314 static const char SCIM_BRIDGE_MESSAGE_HIGHLIGHT[] = "highlight";
315 
319 static const char SCIM_BRIDGE_MESSAGE_REVERSE[] = "reverse";
320 
321 #endif /*SCIMBRIDGEMESSAGECONSTANT_H_*/
SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT
static const char SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT[]
Definition: scim-bridge-message-constant.h:134
SCIM_BRIDGE_MESSAGE_ALT
static const char SCIM_BRIDGE_MESSAGE_ALT[]
Definition: scim-bridge-message-constant.h:234
SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED
static const char SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED[]
Definition: scim-bridge-message-constant.h:99
SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS
static const char SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS[]
Definition: scim-bridge-message-constant.h:94
SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT
static const char SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT[]
Definition: scim-bridge-message-constant.h:189
SCIM_BRIDGE_MESSAGE_COLOR
static const char SCIM_BRIDGE_MESSAGE_COLOR[]
Definition: scim-bridge-message-constant.h:304
SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED
static const char SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED[]
Definition: scim-bridge-message-constant.h:209
SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES[]
Definition: scim-bridge-message-constant.h:79
SCIM_BRIDGE_MESSAGE_DECORATE
static const char SCIM_BRIDGE_MESSAGE_DECORATE[]
Definition: scim-bridge-message-constant.h:289
SCIM_BRIDGE_MESSAGE_ANY
static const char SCIM_BRIDGE_MESSAGE_ANY[]
Definition: scim-bridge-message-constant.h:59
SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE[]
Definition: scim-bridge-message-constant.h:34
SCIM_BRIDGE_MESSAGE_HYPER
static const char SCIM_BRIDGE_MESSAGE_HYPER[]
Definition: scim-bridge-message-constant.h:249
scim-bridge.h
This header describes about fundamental definitions of scim-bridge.
SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT
static const char SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT[]
Definition: scim-bridge-message-constant.h:179
SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED[]
Definition: scim-bridge-message-constant.h:204
SCIM_BRIDGE_MESSAGE_EMBEDDED
static const char SCIM_BRIDGE_MESSAGE_EMBEDDED[]
Definition: scim-bridge-message-constant.h:44
SCIM_BRIDGE_MESSAGE_KANA_RO
static const char SCIM_BRIDGE_MESSAGE_KANA_RO[]
Definition: scim-bridge-message-constant.h:264
SCIM_BRIDGE_MESSAGE_FLOATING
static const char SCIM_BRIDGE_MESSAGE_FLOATING[]
Definition: scim-bridge-message-constant.h:49
SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED[]
Definition: scim-bridge-message-constant.h:129
SCIM_BRIDGE_MESSAGE_COMMIT_STRING
static const char SCIM_BRIDGE_MESSAGE_COMMIT_STRING[]
Definition: scim-bridge-message-constant.h:164
SCIM_BRIDGE_MESSAGE_NUM_LOCK
static const char SCIM_BRIDGE_MESSAGE_NUM_LOCK[]
Definition: scim-bridge-message-constant.h:259
SCIM_BRIDGE_MESSAGE_CAPS_LOCK
static const char SCIM_BRIDGE_MESSAGE_CAPS_LOCK[]
Definition: scim-bridge-message-constant.h:254
SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED
static const char SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED[]
Definition: scim-bridge-message-constant.h:119
SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED[]
Definition: scim-bridge-message-constant.h:199
SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION[]
Definition: scim-bridge-message-constant.h:84
SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING
static const char SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING[]
Definition: scim-bridge-message-constant.h:159
SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT
static const char SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT[]
Definition: scim-bridge-message-constant.h:154
SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED[]
Definition: scim-bridge-message-constant.h:39
SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED[]
Definition: scim-bridge-message-constant.h:69
SCIM_BRIDGE_MESSAGE_REVERSE
static const char SCIM_BRIDGE_MESSAGE_REVERSE[]
Definition: scim-bridge-message-constant.h:319
SCIM_BRIDGE_MESSAGE_NONE
static const char SCIM_BRIDGE_MESSAGE_NONE[]
Definition: scim-bridge-message-constant.h:284
SCIM_BRIDGE_MESSAGE_SHIFT
static const char SCIM_BRIDGE_MESSAGE_SHIFT[]
Definition: scim-bridge-message-constant.h:224
SCIM_BRIDGE_MESSAGE_HIGHLIGHT
static const char SCIM_BRIDGE_MESSAGE_HIGHLIGHT[]
Definition: scim-bridge-message-constant.h:314
SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION
static const char SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION[]
Definition: scim-bridge-message-constant.h:114
SCIM_BRIDGE_MESSAGE_FALSE
static const char SCIM_BRIDGE_MESSAGE_FALSE[]
Definition: scim-bridge-message-constant.h:279
SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN[]
Definition: scim-bridge-message-constant.h:194
SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED[]
Definition: scim-bridge-message-constant.h:139
SCIM_BRIDGE_MESSAGE_SUPER
static const char SCIM_BRIDGE_MESSAGE_SUPER[]
Definition: scim-bridge-message-constant.h:244
SCIM_BRIDGE_MESSAGE_UNDERLINE
static const char SCIM_BRIDGE_MESSAGE_UNDERLINE[]
Definition: scim-bridge-message-constant.h:309
SCIM_BRIDGE_MESSAGE_HANGING
static const char SCIM_BRIDGE_MESSAGE_HANGING[]
Definition: scim-bridge-message-constant.h:54
SCIM_BRIDGE_MESSAGE_FOREGROUND
static const char SCIM_BRIDGE_MESSAGE_FOREGROUND[]
Definition: scim-bridge-message-constant.h:294
SCIM_BRIDGE_MESSAGE_DISABLED
static const char SCIM_BRIDGE_MESSAGE_DISABLED[]
Definition: scim-bridge-message-constant.h:219
SCIM_BRIDGE_MESSAGE_CONTROL
static const char SCIM_BRIDGE_MESSAGE_CONTROL[]
Definition: scim-bridge-message-constant.h:229
SCIM_BRIDGE_MESSAGE_ENABLED
static const char SCIM_BRIDGE_MESSAGE_ENABLED[]
Definition: scim-bridge-message-constant.h:214
SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT
static const char SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT[]
Definition: scim-bridge-message-constant.h:104
SCIM_BRIDGE_MESSAGE_UNKNOWN
static const char SCIM_BRIDGE_MESSAGE_UNKNOWN[]
Definition: scim-bridge-message-constant.h:269
SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT
static const char SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT[]
Definition: scim-bridge-message-constant.h:144
SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT
static const char SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT[]
Definition: scim-bridge-message-constant.h:64
SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED
static const char SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED[]
Definition: scim-bridge-message-constant.h:109
SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN[]
Definition: scim-bridge-message-constant.h:89
SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT
static const char SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT[]
Definition: scim-bridge-message-constant.h:184
SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING[]
Definition: scim-bridge-message-constant.h:74
SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT
static const char SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT[]
Definition: scim-bridge-message-constant.h:124
SCIM_BRIDGE_MESSAGE_STRING_COMMITED
static const char SCIM_BRIDGE_MESSAGE_STRING_COMMITED[]
Definition: scim-bridge-message-constant.h:169
SCIM_BRIDGE_MESSAGE_TRUE
static const char SCIM_BRIDGE_MESSAGE_TRUE[]
Definition: scim-bridge-message-constant.h:274
SCIM_BRIDGE_MESSAGE_META
static const char SCIM_BRIDGE_MESSAGE_META[]
Definition: scim-bridge-message-constant.h:239
SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED[]
Definition: scim-bridge-message-constant.h:149
SCIM_BRIDGE_MESSAGE_BACKGROUND
static const char SCIM_BRIDGE_MESSAGE_BACKGROUND[]
Definition: scim-bridge-message-constant.h:299
SCIM_BRIDGE_MESSAGE_BEEP
static const char SCIM_BRIDGE_MESSAGE_BEEP[]
Definition: scim-bridge-message-constant.h:174