summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-14 14:23:39 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-14 14:23:39 +0800
commit331f4f497389679fa076cccf603c82b697b993d1 (patch)
tree030f4a6bdf48477554c7453fe3692db532787801 /src
parentb1739851231248dba52d01b9bfb5d58318958b5f (diff)
downloadibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.tar.gz
ibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.tar.xz
ibus-libpinyin-331f4f497389679fa076cccf603c82b697b993d1.zip
add using namespace pinyin
Diffstat (limited to 'src')
-rw-r--r--src/PYLibPinyin.cc1
-rw-r--r--src/PYPConfig.cc2
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";