diff options
author | Peng Wu <epico@dhcp-65-116.nay.redhat.com> | 2010-04-13 15:55:07 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-05-19 10:09:32 +0800 |
commit | c3bc5bd52879a85a7a6bfd4e2baefbe7cf37bc01 (patch) | |
tree | 75937643ee4b3fcba20920752ebfd98f19e1b6c2 /lua/lua-plugin.h | |
parent | 604d367fc223e142617b93f550dc7aa10f859848 (diff) | |
download | ibus-libpinyin-c3bc5bd52879a85a7a6bfd4e2baefbe7cf37bc01.tar.gz ibus-libpinyin-c3bc5bd52879a85a7a6bfd4e2baefbe7cf37bc01.tar.xz ibus-libpinyin-c3bc5bd52879a85a7a6bfd4e2baefbe7cf37bc01.zip |
ime register command in progress.
Diffstat (limited to 'lua/lua-plugin.h')
-rw-r--r-- | lua/lua-plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h index 2d50329..084fe15 100644 --- a/lua/lua-plugin.h +++ b/lua/lua-plugin.h @@ -5,8 +5,7 @@ #define LUA_IMELIBNAME "ime" LUALIB_API int (luaopen_ime) (lua_State * L); - -void lua_plugin_openlibs (lua_State *L); +#define LUA_IMELIB_CONTEXT "__context" typedef struct{ const char * command_name; @@ -31,6 +30,10 @@ typedef struct _IBusEnginePlugin IBusEnginePlugin; typedef struct _IBusEnginePluginClass IBusEnginePluginClass; typedef struct _IBusEnginePluginPrivate IBusEnginePluginPrivate; +void lua_plugin_openlibs (lua_State *L); +void lua_plugin_store_plugin(lua_State * L, IBusEnginePlugin * plugin); +IBusEnginePlugin * lua_plugin_retrieve_plugin(lua_State * L); + struct _IBusEnginePlugin { GObject parent_instance; |