diff options
Diffstat (limited to 'lua/lua-plugin.h')
-rw-r--r-- | lua/lua-plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h index d7118d6..8e6e056 100644 --- a/lua/lua-plugin.h +++ b/lua/lua-plugin.h @@ -59,9 +59,17 @@ struct _IBusEnginePluginClass GType ibus_engine_plugin_get_type(void); +/** + * create a new ibus engine plugin. + */ IBusEnginePlugin * ibus_engine_plugin_new(); /** + * load a new lua script for ibus engine plugin. + */ +int ibus_engine_plugin_load_lua_script(IBusEnginePlugin * plugin, const char * filename); + +/** * add a lua_command_t to plugin. */ gboolean ibus_engine_plugin_add_command(IBusEnginePlugin * plugin, lua_command_t * command); |