diff options
author | Peng Wu <alexepico@gmail.com> | 2014-07-01 15:39:00 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-07-01 15:39:00 +0800 |
commit | a922b865710b961817b5cce3d5f53f74cffc494d (patch) | |
tree | aeff361ffb7ec948143103c220357e6d48e4d05e | |
parent | b68d95fb69b043cfbb7319c308a040b5692749db (diff) | |
download | ibus-libzhuyin-a922b865710b961817b5cce3d5f53f74cffc494d.tar.gz ibus-libzhuyin-a922b865710b961817b5cce3d5f53f74cffc494d.tar.xz ibus-libzhuyin-a922b865710b961817b5cce3d5f53f74cffc494d.zip |
update initCandidates declaration
-rw-r--r-- | src/ZYZBopomofoSymbolSection.cc | 3 | ||||
-rw-r--r-- | src/ZYZBopomofoSymbolSection.h | 3 | ||||
-rw-r--r-- | src/ZYZBuiltinSymbolSection.cc | 3 | ||||
-rw-r--r-- | src/ZYZBuiltinSymbolSection.h | 3 | ||||
-rw-r--r-- | src/ZYZSymbolSection.h | 4 |
5 files changed, 11 insertions, 5 deletions
diff --git a/src/ZYZBopomofoSymbolSection.cc b/src/ZYZBopomofoSymbolSection.cc index 4e9db8c..c8e5716 100644 --- a/src/ZYZBopomofoSymbolSection.cc +++ b/src/ZYZBopomofoSymbolSection.cc @@ -37,7 +37,8 @@ BopomofoSymbolSection::~BopomofoSymbolSection () } bool -BopomofoSymbolSection::initCandidates (const String & lookup) +BopomofoSymbolSection::initCandidates (zhuyin_instance_t * instance, + const String & lookup) { assert (1 == lookup.length ()); m_lookup = lookup; diff --git a/src/ZYZBopomofoSymbolSection.h b/src/ZYZBopomofoSymbolSection.h index de3b1cb..5fa13e5 100644 --- a/src/ZYZBopomofoSymbolSection.h +++ b/src/ZYZBopomofoSymbolSection.h @@ -38,7 +38,8 @@ public: virtual ~BopomofoSymbolSection (); public: - virtual bool initCandidates (const String & lookup); + virtual bool initCandidates (zhuyin_instance_t * instance, + const String & lookup); virtual bool fillLookupTableByPage (); virtual int selectCandidate (guint index); diff --git a/src/ZYZBuiltinSymbolSection.cc b/src/ZYZBuiltinSymbolSection.cc index 9309c1c..fb4956b 100644 --- a/src/ZYZBuiltinSymbolSection.cc +++ b/src/ZYZBuiltinSymbolSection.cc @@ -37,7 +37,8 @@ BuiltinSymbolSection::~BuiltinSymbolSection () } bool -BuiltinSymbolSection::initCandidates (const String & lookup) +BuiltinSymbolSection::initCandidates (zhuyin_instance_t * instance, + const String & lookup) { assert (1 == lookup.length ()); m_lookup = lookup; diff --git a/src/ZYZBuiltinSymbolSection.h b/src/ZYZBuiltinSymbolSection.h index c4973ba..afb91ac 100644 --- a/src/ZYZBuiltinSymbolSection.h +++ b/src/ZYZBuiltinSymbolSection.h @@ -38,7 +38,8 @@ public: virtual ~BuiltinSymbolSection (); public: - virtual bool initCandidates (const String & lookup); + virtual bool initCandidates (zhuyin_instance_t * instance, + const String & lookup); virtual bool fillLookupTableByPage (); virtual int selectCandidate (guint index); diff --git a/src/ZYZSymbolSection.h b/src/ZYZSymbolSection.h index 42e4ef8..8e75888 100644 --- a/src/ZYZSymbolSection.h +++ b/src/ZYZSymbolSection.h @@ -24,6 +24,7 @@ #include "ZYString.h" #include "ZYZPhoneticEditor.h" +#include <zhuyin.h> namespace ZY { @@ -36,7 +37,8 @@ public: virtual ~SymbolSection () {} public: - virtual bool initCandidates (const String & hint) = 0; + virtual bool initCandidates (zhuyin_instance_t * instance, + const String & hint) = 0; virtual bool fillLookupTableByPage () = 0; virtual int selectCandidate (guint index) = 0; |