diff options
Diffstat (limited to 'src/lib/util/options.h')
-rw-r--r-- | src/lib/util/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/options.h b/src/lib/util/options.h index 28e478afb73..452bd5dbac1 100644 --- a/src/lib/util/options.h +++ b/src/lib/util/options.h @@ -122,6 +122,7 @@ public: // setters void set_value(const char *newvalue, int priority); void set_default_value(const char *defvalue); + void set_flag(UINT32 mask, UINT32 flag); void revert(int priority); private: @@ -186,6 +187,7 @@ public: bool set_value(const char *name, const char *value, int priority, astring &error_string); bool set_value(const char *name, int value, int priority, astring &error_string); bool set_value(const char *name, float value, int priority, astring &error_string); + void set_flag(const char *name, UINT32 mask, UINT32 flags); // misc static const char *unadorned(int x = 0) { return s_option_unadorned[MIN(x, MAX_UNADORNED_OPTIONS)]; } |