diff --git a/src/rime/context.h b/src/rime/context.h index e31ea3cd5..dbc9f4bf0 100644 --- a/src/rime/context.h +++ b/src/rime/context.h @@ -72,6 +72,8 @@ class RIME_API Context { bool get_option(const string& name) const; void set_property(const string& name, const string& value); string get_property(const string& name) const; + const map& options() const { return options_; } + const map& properties() const { return properties_; } // options and properties starting with '_' are local to schema; // others are session scoped. void ClearTransientOptions();