add using namespace pinyin
authorPeng Wu <alexepico@gmail.com>
Thu, 14 Mar 2013 06:23:39 +0000 (14:23 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 14 Mar 2013 06:23:39 +0000 (14:23 +0800)
src/PYLibPinyin.cc
src/PYPConfig.cc

index eb88e16..12ed8bc 100644 (file)
@@ -27,6 +27,7 @@
 
 #define LIBPINYIN_SAVE_TIMEOUT   (5 * 60)
 
+using namespace pinyin;
 using namespace PY;
 
 std::unique_ptr<LibPinyinBackEnd> LibPinyinBackEnd::m_instance;
index d75b5ed..9bf8b82 100644 (file)
@@ -25,6 +25,8 @@
 #include "PYBus.h"
 #include "PYLibPinyin.h"
 
+using namespace pinyin;
+
 namespace PY {
 
 const gchar * const CONFIG_CORRECT_PINYIN            = "CorrectPinyin";