#ifndef __PY_FULL_PINYIN_EDITOR_H_ #define __PY_FULL_PINYIN_EDITOR_H_ #include "PinyinEditor.h" namespace PY { class FullPinyinEditor : public PinyinEditor { public: FullPinyinEditor (PinyinProperties & props); ~FullPinyinEditor (void); public: /* virtual functions */ #if 0 virtual gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers); #endif virtual void reset (void); protected: 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); void updatePinyin (void); }; }; #endif