2 Scim-Unikey Input Method
4 Copyright (C) 2008-2009 Ubuntu-VN <http://www.ubuntu-vn.org>
5 Author: Le Quoc Tuan <mr.lequoctuan@gmail.com>
6 Home: http://scim-unikey.googlecode.com
7 License: GNU GENERAL PUBLIC LICENSE v2
14 #define Uses_SCIM_CONFIG_BASE
15 #define Uses_SCIM_CONFIG_PATH
16 #define Uses_SCIM_MODULE
17 #define Uses_SCIM_IMENGINE_MODULE
18 #define Uses_SCIM_HELPER
22 #define _(String) dgettext(PACKAGE_NAME,String)
25 #include "scim_unikey_const.h"
27 #define scim_module_init unikey_helper_LTX_scim_module_init
28 #define scim_module_exit unikey_helper_LTX_scim_module_exit
29 #define scim_helper_module_number_of_helpers unikey_helper_LTX_scim_helper_module_number_of_helpers
30 #define scim_helper_module_get_helper_info unikey_helper_LTX_scim_helper_module_get_helper_info
31 #define scim_helper_module_run_helper unikey_helper_LTX_scim_helper_module_run_helper
35 static HelperInfo __helper_info (String("d64561de-c638-427e-9f9c-dd84e15043ab"),
36 String(_("Unikey Setup")),
37 String(SCIM_ICONDIR)+String(SCIM_UNIKEY_ICON_MAIN),
39 SCIM_HELPER_STAND_ALONE);
43 void scim_module_init()
47 void scim_module_exit()
51 unsigned int scim_helper_module_number_of_helpers()
56 bool scim_helper_module_get_helper_info(unsigned int idx, HelperInfo &info)
66 void scim_helper_module_run_helper(const String &uuid, const ConfigPointer &config, const String &display)
68 if (uuid == "d64561de-c638-427e-9f9c-dd84e15043ab")
70 system(LIBEXECDIR "/scim-setup-unikey &");