diff options
Diffstat (limited to 'src/PYPEnhancedCandidates.h')
-rw-r--r-- | src/PYPEnhancedCandidates.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/PYPEnhancedCandidates.h b/src/PYPEnhancedCandidates.h index b6db2b9..9a7781e 100644 --- a/src/PYPEnhancedCandidates.h +++ b/src/PYPEnhancedCandidates.h @@ -28,8 +28,6 @@ namespace PY { -class PhoneticEditor; - enum CandidateType { CANDIDATE_NBEST_MATCH = 1, /* not included with user candidate */ @@ -61,6 +59,7 @@ struct EnhancedCandidate { std::string m_display_string; }; +template <class IEditor> class EnhancedCandidates { public: @@ -70,8 +69,8 @@ public: protected: - /* will call selectCandidateInternal method of class PhoneticEditor. */ - PhoneticEditor *m_editor; + /* will call selectCandidateInternal method of class IEditor. */ + IEditor *m_editor; }; }; |