diff options
author | Peng Wu <alexepico@gmail.com> | 2014-06-10 18:46:44 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-06-10 18:46:44 +0800 |
commit | 06c9ec932e67fb1ded5ff86fa45c5fa4a93e3f5e (patch) | |
tree | 4f2e1db57c7c6cb7e39345f05300708dff4a4026 | |
parent | 902899415e83b1b90a47d60c042b9414d51e094d (diff) | |
download | ibus-libzhuyin-06c9ec932e67fb1ded5ff86fa45c5fa4a93e3f5e.tar.gz ibus-libzhuyin-06c9ec932e67fb1ded5ff86fa45c5fa4a93e3f5e.tar.xz ibus-libzhuyin-06c9ec932e67fb1ded5ff86fa45c5fa4a93e3f5e.zip |
fixes compile
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/ZYZZhuyinEngine.cc | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 21846dc..2a17033 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -38,6 +38,7 @@ ibus_engine_libzhuyin_c_sources = \ ZYZEnhancedEditor.cc \ ZYZPhoneticEditor.cc \ ZYZZhuyinEditor.cc \ + ZYZPinyinEditor.cc \ ZYSymbols.cc \ ZYZBuiltinSymbolSection.cc \ ZYZPhoneticSection.cc \ @@ -60,6 +61,7 @@ ibus_engine_libzhuyin_h_sources = \ ZYZEnhancedEditor.h \ ZYZPhoneticEditor.h \ ZYZZhuyinEditor.h \ + ZYZPinyinEditor.h \ ZYSymbols.h \ ZYZSymbolSection.h \ ZYZBuiltinSymbolSection.h \ diff --git a/src/ZYZZhuyinEngine.cc b/src/ZYZZhuyinEngine.cc index 4eb7bf8..5887076 100644 --- a/src/ZYZZhuyinEngine.cc +++ b/src/ZYZZhuyinEngine.cc @@ -26,6 +26,7 @@ #include "ZYZConfig.h" #include "ZYRawEditor.h" #include "ZYZZhuyinEditor.h" +#include "ZYZPinyinEditor.h" using namespace ZY; @@ -47,11 +48,8 @@ ZhuyinEngine::ZhuyinEngine (IBusEngine *engine) (new ZhuyinEditor (m_props, ZhuyinConfig::instance ())); break; case FULL_PINYIN_HANYU ... FULL_PINYIN_SECONDARY_BOPOMOFO: - assert (FALSE); -#if 0 m_editors[MODE_INIT].reset (new PinyinEditor (m_props, ZhuyinConfig::instance ())); -#endif break; default: assert (FALSE); @@ -133,12 +131,9 @@ ZhuyinEngine::focusIn (void) connectEditorSignals (m_editors[MODE_INIT]); break; case FULL_PINYIN_HANYU ... FULL_PINYIN_SECONDARY_BOPOMOFO: - assert (FALSE); -#if 0 m_editors[MODE_INIT].reset (new PinyinEditor (m_props, ZhuyinConfig::instance ())); connectEditorSignals (m_editors[MODE_INIT]); -#endif break; default: assert (FALSE); |