diff options
author | Peng Wu <alexepico@gmail.com> | 2013-03-14 14:23:39 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-03-14 14:23:39 +0800 |
commit | 331f4f497389679fa076cccf603c82b697b993d1 (patch) | |
tree | 030f4a6bdf48477554c7453fe3692db532787801 | |
parent | b1739851231248dba52d01b9bfb5d58318958b5f (diff) | |
download | ibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.tar.gz ibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.tar.xz ibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.zip |
add using namespace pinyin
-rw-r--r-- | src/PYLibPinyin.cc | 1 | ||||
-rw-r--r-- | src/PYPConfig.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index eb88e16..12ed8bc 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -27,6 +27,7 @@ #define LIBPINYIN_SAVE_TIMEOUT (5 * 60) +using namespace pinyin; using namespace PY; std::unique_ptr<LibPinyinBackEnd> LibPinyinBackEnd::m_instance; diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc index d75b5ed..9bf8b82 100644 --- a/src/PYPConfig.cc +++ b/src/PYPConfig.cc @@ -25,6 +25,8 @@ #include "PYBus.h" #include "PYLibPinyin.h" +using namespace pinyin; + namespace PY { const gchar * const CONFIG_CORRECT_PINYIN = "CorrectPinyin"; |