summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-05-07 11:15:20 +0800
committerPeng Wu <alexepico@gmail.com>2010-05-19 10:09:33 +0800
commite63b0016502ff2f535894006c67364ed8fa48ef0 (patch)
treecb486148250f56f22766ae77e1bfbc5be1c9406a /lua
parent31a21dbb7c449813d61459a1a232dbbd0b576d1e (diff)
downloadibus-libpinyin-e63b0016502ff2f535894006c67364ed8fa48ef0.tar.gz
ibus-libpinyin-e63b0016502ff2f535894006c67364ed8fa48ef0.tar.xz
ibus-libpinyin-e63b0016502ff2f535894006c67364ed8fa48ef0.zip
begin to modify lua plugin.
Diffstat (limited to 'lua')
-rw-r--r--lua/lua-plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h
index 67f7d9b..9ae71b4 100644
--- a/lua/lua-plugin.h
+++ b/lua/lua-plugin.h
@@ -16,6 +16,12 @@ typedef struct{
} lua_command_t;
typedef struct{
+ const char * suggest;
+ const char * help;
+ const char * content;
+} lua_command_candidate_t;
+
+typedef struct{
const char * lua_function_name;
const char * description;
/*< private, skip it, and register it into Special Table directly with * wildcard. >*/