From d2b27c5dc5ad1070f502768a32df2792c55b435d Mon Sep 17 00:00:00 2001 From: Hiroshi Sumita Date: Wed, 11 Jul 2012 10:34:31 -0400 Subject: Integrates pyzy. BUG=None TEST=None at this moment... Review URL: https://codereview.appspot.com/6253043 Patch from Hiroshi Sumita . --- src/PYDoublePinyinEditor.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src/PYDoublePinyinEditor.h') diff --git a/src/PYDoublePinyinEditor.h b/src/PYDoublePinyinEditor.h index 28ec6b7..3a70d97 100644 --- a/src/PYDoublePinyinEditor.h +++ b/src/PYDoublePinyinEditor.h @@ -29,33 +29,11 @@ class DoublePinyinEditor : public PinyinEditor { public: DoublePinyinEditor (PinyinProperties & props, Config & config); - - gboolean insert (gint ch); - - gboolean removeCharBefore (void); - gboolean removeCharAfter (void); - gboolean removeWordBefore (void); - gboolean removeWordAfter (void); - - gboolean moveCursorLeft (void); - gboolean moveCursorRight (void); - gboolean moveCursorLeftByWord (void); - gboolean moveCursorRightByWord (void); - gboolean moveCursorToBegin (void); - gboolean moveCursorToEnd (void); + virtual ~DoublePinyinEditor (); /* override virtual functions */ gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers); - void reset (void); void updateAuxiliaryTextAfter (String &buffer); - -protected: - gboolean updatePinyin (gboolean all); - -private: - const Pinyin *isPinyin (gint i, gint j); - const Pinyin *isPinyin (gint i); - }; }; -- cgit v1.2.1