~ubuntu-branches/ubuntu/wily/scim/wily-proposed

« back to all changes in this revision

Viewing changes to extras/immodules/common/scim-bridge-message-constant.h

  • Committer: Package Import Robot
  • Author(s): Rolf Leggewie, Rolf Leggewie, Tz-Huan Huang
  • Date: 2012-06-30 11:21:42 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120630112142-a4cwzsr16dty8dk7
Tags: 1.4.14-1
[ Rolf Leggewie ]
* new upstream release 1.4.14
  - drop 32_scim-1.4.8-fix-dlopen.patch which has landed upstream
* bump compat level to 9
* debian/control: add Toni Mueller as co-maintainer
  Welcome aboard!

[ Tz-Huan Huang ]
* start shipping a couple of newly introduced im-module packages
* debian/rules:
  - simplify dh_auto_install override where upstream changes allow this
  - drop -fpermissive from CXXFLAGS, fixed upstream
* debian/README.*: update the documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
20
/**
 
21
 * @file
 
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.
 
24
 */
 
25
 
 
26
#ifndef SCIMBRIDGEMESSAGECONSTANT_H_
 
27
#define SCIMBRIDGEMESSAGECONSTANT_H_
 
28
 
 
29
#include "scim-bridge.h"
 
30
 
 
31
/**
 
32
 * The string constant of "set_preedit_mode" for messages.
 
33
 */
 
34
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE[] = "set_preedit_mode";
 
35
 
 
36
/**
 
37
 * The string constant of "preedit_mode_changed" for messages.
 
38
 */
 
39
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED[] = "preedit_mode_changed";
 
40
 
 
41
/**
 
42
 * The string constant of "embedded" for messages.
 
43
 */
 
44
static const char SCIM_BRIDGE_MESSAGE_EMBEDDED[] = "embedded";
 
45
 
 
46
/**
 
47
 * The string constant of "floating" for messages.
 
48
 */
 
49
static const char SCIM_BRIDGE_MESSAGE_FLOATING[] = "floating";
 
50
 
 
51
/**
 
52
 * The string constant of "hanging" for messages.
 
53
 */
 
54
static const char SCIM_BRIDGE_MESSAGE_HANGING[] = "hanging";
 
55
 
 
56
/**
 
57
 * The string constant of "any" for messages.
 
58
 */
 
59
static const char SCIM_BRIDGE_MESSAGE_ANY[] = "any";
 
60
 
 
61
/**
 
62
 * The string constant of "update_preedit" for messages.
 
63
 */
 
64
static const char SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT[] = "update_preedit";
 
65
 
 
66
/**
 
67
 * The string constant of "preedit_updated" for messages.
 
68
 */
 
69
static const char SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED[] = "preedit_updated";
 
70
 
 
71
/**
 
72
 * The string constant of "set_preedit_string" for messages.
 
73
 */
 
74
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING[] = "set_preedit_string";
 
75
 
 
76
/**
 
77
 * The string constant of "set_preedit_attributes" for messages.
 
78
 */
 
79
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES[] = "set_preedit_attributes";
 
80
 
 
81
/**
 
82
 * The string constant of "set_preedit_cursor_position" for messages.
 
83
 */
 
84
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION[] = "set_preedit_cursor_position";
 
85
 
 
86
/**
 
87
 * The string constant of "set_preedit_shown" for messages.
 
88
 */
 
89
static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN[] = "set_preedit_shown";
 
90
 
 
91
/**
 
92
 * The string constant of "change_focus" for messages.
 
93
 */
 
94
static const char SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS[] = "change_focus";
 
95
 
 
96
/**
 
97
 * The string constant of "focus_changed" for messages.
 
98
 */
 
99
static const char SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED[] = "focus_changed";
 
100
 
 
101
/**
 
102
 * The string constant of "handle_key_event" for messages.
 
103
 */
 
104
static const char SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT[] = "handle_key_event";
 
105
 
 
106
/**
 
107
 * The string constant of "key_event_handled" for messages.
 
108
 */
 
109
static const char SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED[] ="key_event_handled";
 
110
 
 
111
/**
 
112
 * The string constant "set_cursor_location" for messages.
 
113
 */
 
114
static const char SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION[] = "set_cursor_location";
 
115
 
 
116
/**
 
117
 * The string constant "cursor_location_changed" for messages.
 
118
 */
 
119
static const char SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED[] = "cursor_location_changed";
 
120
 
 
121
/**
 
122
 * The string constant of "register_imcontext" for messages.
 
123
 */
 
124
static const char SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT[] = "register_imcontext";
 
125
 
 
126
/**
 
127
 * The string constant of "imcontext_registered" for messages.
 
128
 */
 
129
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED[] = "imcontext_registered";
 
130
 
 
131
/**
 
132
 * The string constant of "deregister_imcontext" for messages.
 
133
 */
 
134
static const char SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT[] = "deregister_imcontext";
 
135
 
 
136
/**
 
137
 * The string constant of "imcontext_registered" for messages.
 
138
 */
 
139
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED[] = "imcontext_deregister";
 
140
 
 
141
/**
 
142
 * The string constant of "reset_imcontext" for messages.
 
143
 */
 
144
static const char SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT[] = "reset_imcontext";
 
145
 
 
146
/**
 
147
 * The string constant of "imcontext_reseted" for messages.
 
148
 */
 
149
static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED[] = "imcontext_reseted";
 
150
 
 
151
/**
 
152
 * The string constant of "forward_key_event" for messages.
 
153
 */
 
154
static const char SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT[] = "forward_key_event";
 
155
 
 
156
/**
 
157
 * The string constant of "set_commit_string" for messages.
 
158
 */
 
159
static const char SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING[] = "set_commit_string";
 
160
 
 
161
/**
 
162
 * The string constant of "commit_string" for messages.
 
163
 */
 
164
static const char SCIM_BRIDGE_MESSAGE_COMMIT_STRING[] = "commit_string";
 
165
 
 
166
/**
 
167
 * The string constant of "commit" for messages.
 
168
 */
 
169
static const char SCIM_BRIDGE_MESSAGE_STRING_COMMITED[] = "string_commited";
 
170
 
 
171
/**
 
172
 * The string constant of "beep" for messages.
 
173
 */
 
174
static const char SCIM_BRIDGE_MESSAGE_BEEP[] = "beep";
 
175
 
 
176
/**
 
177
 * The string constant of "get_surrounding_text" for messages.
 
178
 */
 
179
static const char SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT[] = "get_surrounding_text";
 
180
 
 
181
/**
 
182
 * The string constant of "delete_surrounding_text" for messages.
 
183
 */
 
184
static const char SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT[] = "delete_surrounding_text";
 
185
 
 
186
/**
 
187
 * The string constant of "replace_surrounding_text" for messages.
 
188
 */
 
189
static const char SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT[] = "replace_surrounding_text";
 
190
 
 
191
/**
 
192
 * The string constant of "surrounding_text_gotten" for messages.
 
193
 */
 
194
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN[] = "surrounding_text_gotten";
 
195
 
 
196
/**
 
197
 * The string constant of "surrounding_text_deleted" for messages.
 
198
 */
 
199
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED[] = "surrounding_text_deleted";
 
200
 
 
201
/**
 
202
 * The string constant of "surrounding_text_replaced" for messages.
 
203
 */
 
204
static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED[] = "surrounding_text_replaced";
 
205
 
 
206
/**
 
207
 * The string constant of "imengine_status_changed" for messages.
 
208
 */
 
209
static const char SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED[] = "imengine_status_changed";
 
210
 
 
211
/**
 
212
 * The string constant of "enable_imcontext" for messages.
 
213
 */
 
214
static const char SCIM_BRIDGE_MESSAGE_ENABLE_IMCONTEXT[] = "enable_imcontext";
 
215
 
 
216
/**
 
217
 * The string constant of "enabled" for messages.
 
218
 */
 
219
static const char SCIM_BRIDGE_MESSAGE_ENABLED[] = "enabled";
 
220
 
 
221
/**
 
222
 * The string constant of "disable_imcontext" for messages.
 
223
 */
 
224
static const char SCIM_BRIDGE_MESSAGE_DISABLE_IMCONTEXT[] = "disable_imcontext";
 
225
 
 
226
/**
 
227
 * The string constant of "disabled" for messages.
 
228
 */
 
229
static const char SCIM_BRIDGE_MESSAGE_DISABLED[] = "disabled";
 
230
 
 
231
/**
 
232
 * The string constant of "shift" for messages.
 
233
 */
 
234
static const char SCIM_BRIDGE_MESSAGE_SHIFT[] = "shift";
 
235
 
 
236
/**
 
237
 * The string constant of "control" for messages.
 
238
 */
 
239
static const char SCIM_BRIDGE_MESSAGE_CONTROL[] = "control";
 
240
 
 
241
/**
 
242
 * The string constant of "alt" for messages.
 
243
 */
 
244
static const char SCIM_BRIDGE_MESSAGE_ALT[] = "alt";
 
245
 
 
246
/**
 
247
 * The string constant of "meta" for messages.
 
248
 */
 
249
static const char SCIM_BRIDGE_MESSAGE_META[] = "meta";
 
250
 
 
251
/**
 
252
 * The string constant of "super" for messages.
 
253
 */
 
254
static const char SCIM_BRIDGE_MESSAGE_SUPER[] = "super";
 
255
 
 
256
/**
 
257
 * The string constant of "hyper" for messages.
 
258
 */
 
259
static const char SCIM_BRIDGE_MESSAGE_HYPER[] = "hyper";
 
260
 
 
261
/**
 
262
 * The string constant of "caps_lock" for messages.
 
263
 */
 
264
static const char SCIM_BRIDGE_MESSAGE_CAPS_LOCK[] = "caps_lock";
 
265
 
 
266
/**
 
267
 * The string constant of "num_lock" for messages.
 
268
 */
 
269
static const char SCIM_BRIDGE_MESSAGE_NUM_LOCK[] = "num_lock";
 
270
 
 
271
/**
 
272
 * The string constant of "kana_ro" for messages.
 
273
 */
 
274
static const char SCIM_BRIDGE_MESSAGE_KANA_RO[] = "kana_ro";
 
275
 
 
276
/**
 
277
 * The string constant of "unknown" for messages.
 
278
 */
 
279
static const char SCIM_BRIDGE_MESSAGE_UNKNOWN[] = "unknown";
 
280
 
 
281
/**
 
282
 * The string constant of "true" for messages.
 
283
 */
 
284
static const char SCIM_BRIDGE_MESSAGE_TRUE[] = "true";
 
285
 
 
286
/**
 
287
 * The string constant of "false" for messages.
 
288
 */
 
289
static const char SCIM_BRIDGE_MESSAGE_FALSE[] = "false";
 
290
 
 
291
/**
 
292
 * The string constant of "none" for messages.
 
293
 */
 
294
static const char SCIM_BRIDGE_MESSAGE_NONE[] = "none";
 
295
 
 
296
/**
 
297
 * The string constant of "decorate" for messages.
 
298
 */
 
299
static const char SCIM_BRIDGE_MESSAGE_DECORATE[] = "decoreate";
 
300
 
 
301
/**
 
302
 * The string constant of "foreground" for messages.
 
303
 */
 
304
static const char SCIM_BRIDGE_MESSAGE_FOREGROUND[] = "foreground";
 
305
 
 
306
/**
 
307
 * The string constant of "background" for messages.
 
308
 */
 
309
static const char SCIM_BRIDGE_MESSAGE_BACKGROUND[] = "background";
 
310
 
 
311
/**
 
312
 * The string constant of "color" for messages.
 
313
 */
 
314
static const char SCIM_BRIDGE_MESSAGE_COLOR[] = "#";
 
315
 
 
316
/**
 
317
 * The string constant of "underline" for messages.
 
318
 */
 
319
static const char SCIM_BRIDGE_MESSAGE_UNDERLINE[] = "underline";
 
320
 
 
321
/**
 
322
 * The string constant of "hilight" for messages.
 
323
 */
 
324
static const char SCIM_BRIDGE_MESSAGE_HIGHLIGHT[] = "highlight";
 
325
 
 
326
/**
 
327
 * The string constant of "reverse" for messages.
 
328
 */
 
329
static const char SCIM_BRIDGE_MESSAGE_REVERSE[] = "reverse";
 
330
 
 
331
#endif                                            /*SCIMBRIDGEMESSAGECONSTANT_H_*/