summaryrefslogtreecommitdiffstats
path: root/src/PYPPhoneticEditor.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-09-08 15:13:17 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-22 12:23:11 +0800
commit4e279112646c10657191b8529d0b96d15a9d14dd (patch)
tree8d8541325e83592b96390f459a37d87bb5e02776 /src/PYPPhoneticEditor.h
parente9f90e33c992e4c463235862acd20a5329381f8e (diff)
downloadibus-libpinyin-4e279112646c10657191b8529d0b96d15a9d14dd.tar.gz
ibus-libpinyin-4e279112646c10657191b8529d0b96d15a9d14dd.tar.xz
ibus-libpinyin-4e279112646c10657191b8529d0b96d15a9d14dd.zip
add libpinyin deps
Diffstat (limited to 'src/PYPPhoneticEditor.h')
-rw-r--r--src/PYPPhoneticEditor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PYPPhoneticEditor.h b/src/PYPPhoneticEditor.h
index 3d64bc4..f222557 100644
--- a/src/PYPPhoneticEditor.h
+++ b/src/PYPPhoneticEditor.h
@@ -21,6 +21,7 @@
#ifndef __PY_LIB_PINYIN_BASE_EDITOR_H_
#define __PY_LIB_PINYIN_BASE_EDITOR_H_
+#include <pinyin.h>
#include "PYLookupTable.h"
#include "PYEditor.h"
#include "PYPinyinParser.h"
@@ -81,6 +82,9 @@ protected:
String m_buffer;
/* use LibPinyinBackEnd here. */
+ CandidateConstraints m_constraints;
+ MatchResults m_match_results;
+
std::vector<std::string> m_special_phrases;
std::string m_selected_special_phrase;
};