diff options
Diffstat (limited to 'src/storage/chewing_key.h')
-rw-r--r-- | src/storage/chewing_key.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h index 970ed72..8234a4f 100644 --- a/src/storage/chewing_key.h +++ b/src/storage/chewing_key.h @@ -22,6 +22,8 @@ #ifndef CHEWING_KEY_H #define CHEWING_KEY_H +#include <glib.h> + /** @file chewing_key.h * @brief the definitions of chewing key related classes and structs. */ @@ -137,6 +139,14 @@ struct ChewingKey m_final = CHEWING_ZERO_FINAL; m_tone = CHEWING_ZERO_TONE; } + + ChewingKey(ChewingInitial initial, ChewingMiddle middle, + ChewingFinal final) { + m_initial = initial; + m_middle = middle; + m_final = final; + m_tone = CHEWING_ZERO_TONE; + } }; struct ChewingKeyRest |