From 9fea44f3726e1cc606bc09c23c4fb9a0ffd0cbfb Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 10 Apr 2014 15:25:42 +0800 Subject: use type pinyin_option_t --- src/PYConfig.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PYConfig.h') diff --git a/src/PYConfig.h b/src/PYConfig.h index 8cfc148..6201a7f 100644 --- a/src/PYConfig.h +++ b/src/PYConfig.h @@ -41,7 +41,7 @@ protected: public: std::string dictionaries (void) const { return m_dictionaries; } - guint option (void) const { return m_option & m_option_mask; } + pinyin_option_t option (void) const { return m_option & m_option_mask; } guint orientation (void) const { return m_orientation; } guint pageSize (void) const { return m_page_size; } gboolean ctrlSwitch(void) const { return m_ctrl_switch; } @@ -84,8 +84,8 @@ private: protected: std::string m_section; std::string m_dictionaries; - guint m_option; - guint m_option_mask; + pinyin_option_t m_option; + pinyin_option_t m_option_mask; gint m_orientation; guint m_page_size; -- cgit