summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/facade_chewing_table.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/storage/facade_chewing_table.h b/src/storage/facade_chewing_table.h
index 63b968a..e411589 100644
--- a/src/storage/facade_chewing_table.h
+++ b/src/storage/facade_chewing_table.h
@@ -39,6 +39,16 @@ public:
m_user_chewing_table = NULL;
}
+ /* set options method */
+ bool set_options(pinyin_option_t options) {
+ bool result = false;
+ if (m_system_chewing_table)
+ result = m_system_chewing_table->set_options(options) || result;
+ if (m_user_chewing_table)
+ result = m_user_chewing_table->set_options(options) || result;
+ return result;
+ }
+
/* load/store method */
bool load(pinyin_option_t options, MemoryChunk * system,
MemoryChunk * user){