From af19867e06534726ed91ab6c7b17bc5214ac53fa Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Sun, 16 May 2010 13:01:27 +0800 Subject: [PATCH] Add PunctEditor.h --- src/PunctEditor.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/PunctEditor.h diff --git a/src/PunctEditor.h b/src/PunctEditor.h new file mode 100644 index 0000000..e773158 --- /dev/null +++ b/src/PunctEditor.h @@ -0,0 +1,27 @@ +/* vim:set et sts=4: */ +#ifndef __PY_PUNCT_EDITOR__ +#define __PY_PUNCT_EDITOR__ + +#include +#include "Editor.h" + +namespace PY { + +class PunctEditor : public Editor { +public: + PunctEditor (PinyinProperties &props); + + virtual gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers); + virtual void pageUp (void); + virtual void pageDown (void); + virtual void cursorUp (void); + virtual void cursorDown (void); + virtual void update (void); + virtual void reset (void); + virtual void candidateClicked (guint index, guint button, guint state); + +private: +}; + +}; +#endif -- 2.7.4