|
SCIMBridge 0.4.x
|
00001 /* 00002 * SCIM Bridge 00003 * 00004 * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> 00005 * 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation and 00010 * appearing in the file LICENSE.LGPL included in the package of this file. 00011 * You can also redistribute it and/or modify it under the terms of 00012 * the GNU General Public License as published by the Free Software Foundation and 00013 * appearing in the file LICENSE.GPL included in the package of this file. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 */ 00019 00026 #ifndef SCIMBRIDGEMESSAGECONSTANT_H_ 00027 #define SCIMBRIDGEMESSAGECONSTANT_H_ 00028 00029 #include "scim-bridge.h" 00030 00034 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_MODE[] = "set_preedit_mode"; 00035 00039 static const char SCIM_BRIDGE_MESSAGE_PREEDIT_MODE_CHANGED[] = "preedit_mode_changed"; 00040 00044 static const char SCIM_BRIDGE_MESSAGE_EMBEDDED[] = "embedded"; 00045 00049 static const char SCIM_BRIDGE_MESSAGE_FLOATING[] = "floating"; 00050 00054 static const char SCIM_BRIDGE_MESSAGE_HANGING[] = "hanging"; 00055 00059 static const char SCIM_BRIDGE_MESSAGE_ANY[] = "any"; 00060 00064 static const char SCIM_BRIDGE_MESSAGE_UPDATE_PREEDIT[] = "update_preedit"; 00065 00069 static const char SCIM_BRIDGE_MESSAGE_PREEDIT_UPDATED[] = "preedit_updated"; 00070 00074 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_STRING[] = "set_preedit_string"; 00075 00079 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_ATTRIBUTES[] = "set_preedit_attributes"; 00080 00084 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_CURSOR_POSITION[] = "set_preedit_cursor_position"; 00085 00089 static const char SCIM_BRIDGE_MESSAGE_SET_PREEDIT_SHOWN[] = "set_preedit_shown"; 00090 00094 static const char SCIM_BRIDGE_MESSAGE_CHANGE_FOCUS[] = "change_focus"; 00095 00099 static const char SCIM_BRIDGE_MESSAGE_FOCUS_CHANGED[] = "focus_changed"; 00100 00104 static const char SCIM_BRIDGE_MESSAGE_HANDLE_KEY_EVENT[] = "handle_key_event"; 00105 00109 static const char SCIM_BRIDGE_MESSAGE_KEY_EVENT_HANDLED[] ="key_event_handled"; 00110 00114 static const char SCIM_BRIDGE_MESSAGE_SET_CURSOR_LOCATION[] = "set_cursor_location"; 00115 00119 static const char SCIM_BRIDGE_MESSAGE_CURSOR_LOCATION_CHANGED[] = "cursor_location_changed"; 00120 00124 static const char SCIM_BRIDGE_MESSAGE_REGISTER_IMCONTEXT[] = "register_imcontext"; 00125 00129 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_REGISTERED[] = "imcontext_registered"; 00130 00134 static const char SCIM_BRIDGE_MESSAGE_DEREGISTER_IMCONTEXT[] = "deregister_imcontext"; 00135 00139 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_DEREGISTERED[] = "imcontext_deregister"; 00140 00144 static const char SCIM_BRIDGE_MESSAGE_RESET_IMCONTEXT[] = "reset_imcontext"; 00145 00149 static const char SCIM_BRIDGE_MESSAGE_IMCONTEXT_RESETED[] = "imcontext_reseted"; 00150 00154 static const char SCIM_BRIDGE_MESSAGE_FORWARD_KEY_EVENT[] = "forward_key_event"; 00155 00159 static const char SCIM_BRIDGE_MESSAGE_SET_COMMIT_STRING[] = "set_commit_string"; 00160 00164 static const char SCIM_BRIDGE_MESSAGE_COMMIT_STRING[] = "commit_string"; 00165 00169 static const char SCIM_BRIDGE_MESSAGE_STRING_COMMITED[] = "string_commited"; 00170 00174 static const char SCIM_BRIDGE_MESSAGE_BEEP[] = "beep"; 00175 00179 static const char SCIM_BRIDGE_MESSAGE_GET_SURROUNDING_TEXT[] = "get_surrounding_text"; 00180 00184 static const char SCIM_BRIDGE_MESSAGE_DELETE_SURROUNDING_TEXT[] = "delete_surrounding_text"; 00185 00189 static const char SCIM_BRIDGE_MESSAGE_REPLACE_SURROUNDING_TEXT[] = "replace_surrounding_text"; 00190 00194 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_GOTTEN[] = "surrounding_text_gotten"; 00195 00199 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_DELETED[] = "surrounding_text_deleted"; 00200 00204 static const char SCIM_BRIDGE_MESSAGE_SURROUNDING_TEXT_REPLACED[] = "surrounding_text_replaced"; 00205 00209 static const char SCIM_BRIDGE_MESSAGE_IMENGINE_STATUS_CHANGED[] = "imengine_status_changed"; 00210 00214 static const char SCIM_BRIDGE_MESSAGE_ENABLED[] = "enabled"; 00215 00219 static const char SCIM_BRIDGE_MESSAGE_DISABLED[] = "disabled"; 00220 00224 static const char SCIM_BRIDGE_MESSAGE_SHIFT[] = "shift"; 00225 00229 static const char SCIM_BRIDGE_MESSAGE_CONTROL[] = "control"; 00230 00234 static const char SCIM_BRIDGE_MESSAGE_ALT[] = "alt"; 00235 00239 static const char SCIM_BRIDGE_MESSAGE_META[] = "meta"; 00240 00244 static const char SCIM_BRIDGE_MESSAGE_SUPER[] = "super"; 00245 00249 static const char SCIM_BRIDGE_MESSAGE_HYPER[] = "hyper"; 00250 00254 static const char SCIM_BRIDGE_MESSAGE_CAPS_LOCK[] = "caps_lock"; 00255 00259 static const char SCIM_BRIDGE_MESSAGE_NUM_LOCK[] = "num_lock"; 00260 00264 static const char SCIM_BRIDGE_MESSAGE_KANA_RO[] = "kana_ro"; 00265 00269 static const char SCIM_BRIDGE_MESSAGE_UNKNOWN[] = "unknown"; 00270 00274 static const char SCIM_BRIDGE_MESSAGE_TRUE[] = "true"; 00275 00279 static const char SCIM_BRIDGE_MESSAGE_FALSE[] = "false"; 00280 00284 static const char SCIM_BRIDGE_MESSAGE_NONE[] = "none"; 00285 00289 static const char SCIM_BRIDGE_MESSAGE_DECORATE[] = "decoreate"; 00290 00294 static const char SCIM_BRIDGE_MESSAGE_FOREGROUND[] = "foreground"; 00295 00299 static const char SCIM_BRIDGE_MESSAGE_BACKGROUND[] = "background"; 00300 00304 static const char SCIM_BRIDGE_MESSAGE_COLOR[] = "#"; 00305 00309 static const char SCIM_BRIDGE_MESSAGE_UNDERLINE[] = "underline"; 00310 00314 static const char SCIM_BRIDGE_MESSAGE_HIGHLIGHT[] = "highlight"; 00315 00319 static const char SCIM_BRIDGE_MESSAGE_REVERSE[] = "reverse"; 00320 00321 #endif /*SCIMBRIDGEMESSAGECONSTANT_H_*/
1.7.3