summaryrefslogtreecommitdiffstats
path: root/src/PYPPhoneticEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYPPhoneticEditor.h')
-rw-r--r--src/PYPPhoneticEditor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PYPPhoneticEditor.h b/src/PYPPhoneticEditor.h
index a084ab6..6d0e539 100644
--- a/src/PYPPhoneticEditor.h
+++ b/src/PYPPhoneticEditor.h
@@ -21,6 +21,8 @@
#ifndef __PY_LIB_PINYIN_BASE_EDITOR_H_
#define __PY_LIB_PINYIN_BASE_EDITOR_H_
+#include "lua-plugin.h"
+
#include <vector>
#include <pinyin.h>
#include "PYLookupTable.h"
@@ -61,6 +63,8 @@ public:
virtual gboolean fillLookupTable ();
virtual void commit (const gchar *str) = 0;
+ gboolean setLuaPlugin (IBusEnginePlugin *plugin);
+
protected:
virtual SelectCandidateAction selectCandidateInternal (EnhancedCandidate & candidate);
gboolean selectCandidate (guint i);