diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2010-04-15 11:02:07 +0800 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2010-04-15 11:02:07 +0800 |
commit | 98f2c717f5c7d0d532e5ee53c55370bff01e3b33 (patch) | |
tree | 4e4219892576dcea4c8477ff77ad15d829f84ea8 /src/SpecialPhrase.h | |
parent | ade4b089f5f5974e070f59941c70376b72921219 (diff) | |
download | ibus-libpinyin-98f2c717f5c7d0d532e5ee53c55370bff01e3b33.tar.gz ibus-libpinyin-98f2c717f5c7d0d532e5ee53c55370bff01e3b33.tar.xz ibus-libpinyin-98f2c717f5c7d0d532e5ee53c55370bff01e3b33.zip |
Split SpecialTable.{h, cc}
Diffstat (limited to 'src/SpecialPhrase.h')
-rw-r--r-- | src/SpecialPhrase.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/SpecialPhrase.h b/src/SpecialPhrase.h new file mode 100644 index 0000000..9126c6d --- /dev/null +++ b/src/SpecialPhrase.h @@ -0,0 +1,24 @@ +#ifndef __PY_SPECIAL_PHRASE_H_ +#define __PY_SPECIAL_PHRASE_H_ + +#include <string> +#include <glib.h> + +namespace PY { + +class SpecialPhrase { +public: + SpecialPhrase (guint pos) : m_position (pos) { } + + guint position (void) const { + return m_position; + } + + virtual std::string text (void) = 0; +private: + guint m_position; +}; + +}; + +#endif |