summaryrefslogtreecommitdiffstats
path: root/src/PYPPhoneticEditor.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2022-02-14 10:31:24 +0800
committerPeng Wu <alexepico@gmail.com>2022-02-14 10:31:24 +0800
commit70d961f29943ed09590a5a7a06f349b36e87ce96 (patch)
tree62747ed6d0e502bc624e821126dc9688b242a79a /src/PYPPhoneticEditor.h
parent7268c80fb9025e791f01894a73836d7238e0221e (diff)
downloadibus-libpinyin-70d961f29943ed09590a5a7a06f349b36e87ce96.tar.gz
ibus-libpinyin-70d961f29943ed09590a5a7a06f349b36e87ce96.tar.xz
ibus-libpinyin-70d961f29943ed09590a5a7a06f349b36e87ce96.zip
Write m_english_candidates
Diffstat (limited to 'src/PYPPhoneticEditor.h')
-rw-r--r--src/PYPPhoneticEditor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/PYPPhoneticEditor.h b/src/PYPPhoneticEditor.h
index ecc9eb7..e317e7b 100644
--- a/src/PYPPhoneticEditor.h
+++ b/src/PYPPhoneticEditor.h
@@ -32,6 +32,10 @@
#include "PYPLibPinyinCandidates.h"
#include "PYPTradCandidates.h"
+#ifdef IBUS_BUILD_ENGLISH_INPUT_MODE
+#include "PYPEnglishCandidates.h"
+#endif
+
#ifdef IBUS_BUILD_LUA_EXTENSION
#include "PYPLuaTriggerCandidates.h"
#include "PYPLuaConverterCandidates.h"
@@ -131,6 +135,10 @@ protected:
TraditionalCandidates m_traditional_candidates;
+#ifdef IBUS_BUILD_ENGLISH_INPUT_MODE
+ EnglishCandidates m_english_candidates;
+#endif
+
#ifdef ENABLE_CLOUD_INPUT_MODE
CloudCandidates m_cloud_candidates;
#endif