diff options
author | Hiroshi Sumita <hsumita@chromium.org> | 2012-07-11 10:34:31 -0400 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2012-08-02 10:25:28 -0400 |
commit | d2b27c5dc5ad1070f502768a32df2792c55b435d (patch) | |
tree | 7f33c56f373961f1ec6bca9633ff468cefb70373 /src/PYDoublePinyinEditor.h | |
parent | f01f78c88832dc4165f7bd822b7289fc3d7f98a8 (diff) | |
download | ibus-pinyin-d2b27c5dc5ad1070f502768a32df2792c55b435d.tar.gz |
Integrates pyzy.
BUG=None
TEST=None at this moment...
Review URL: https://codereview.appspot.com/6253043
Patch from Hiroshi Sumita <hsumita@chromium.org>.
Diffstat (limited to 'src/PYDoublePinyinEditor.h')
-rw-r--r-- | src/PYDoublePinyinEditor.h | 24 |
1 files changed, 1 insertions, 23 deletions
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); - }; }; |