summaryrefslogtreecommitdiffstats
path: root/src/PYConfig.h
diff options
context:
space:
mode:
authorYuren Ju <yurenju@gmail.com>2010-10-20 18:44:23 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-10-22 20:38:26 +0900
commitd43d04a9b92f7abd719cf3da666c23eee43fb67c (patch)
treed5b381ea45b024e4a4e744f46c1c3c74e2496f5d /src/PYConfig.h
parent5a0ba0b751abe079fad8bc90316501cd489f50e6 (diff)
downloadibus-libpinyin-d43d04a9b92f7abd719cf3da666c23eee43fb67c.tar.gz
ibus-libpinyin-d43d04a9b92f7abd719cf3da666c23eee43fb67c.tar.xz
ibus-libpinyin-d43d04a9b92f7abd719cf3da666c23eee43fb67c.zip
add options for enter key, original feature is commit original english text, new feature is commit first candidate phrase
Diffstat (limited to 'src/PYConfig.h')
-rw-r--r--src/PYConfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PYConfig.h b/src/PYConfig.h
index 6db9c83..cec46e8 100644
--- a/src/PYConfig.h
+++ b/src/PYConfig.h
@@ -56,6 +56,7 @@ public:
gboolean guideKey (void) const { return m_guide_key; }
gboolean auxiliarySelectKeyF (void) const { return m_auxiliary_select_key_f; }
gboolean auxiliarySelectKeyKP (void) const { return m_auxiliary_select_key_kp; }
+ gboolean enterKey (void) const { return m_enter_key; }
protected:
bool read (const gchar * name, bool defval);
@@ -101,6 +102,8 @@ protected:
gboolean m_guide_key;
gboolean m_auxiliary_select_key_f;
gboolean m_auxiliary_select_key_kp;
+
+ gboolean m_enter_key;
};
/* PinyinConfig */