aboutsummaryrefslogtreecommitdiff
path: root/engines/metaengine.h
diff options
context:
space:
mode:
authorFilippos Karapetis2012-03-31 13:55:03 +0300
committerFilippos Karapetis2012-03-31 13:55:03 +0300
commit6a49d3eadd7555a4f5f539ceb73fdfe370fce9da (patch)
tree9bee862bbd896efe29573c73938f84159be8e5b1 /engines/metaengine.h
parent7f9c63239b2f360b6d96e8ff4dd007b80d990e46 (diff)
downloadscummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.gz
scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.bz2
scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.zip
ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an engine starts
Diffstat (limited to 'engines/metaengine.h')
-rw-r--r--engines/metaengine.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/metaengine.h b/engines/metaengine.h
index 632c204978..ffa682fc53 100644
--- a/engines/metaengine.h
+++ b/engines/metaengine.h
@@ -112,10 +112,17 @@ public:
}
/**
- * Return a list of extra GUI options.
+ * Return a list of extra GUI options for the specified target.
+ * If no target is specified, all of the available custom GUI options are
+ * Returned for the plugin (used to set default values).
+ *
* Currently, this only supports options with checkboxes.
*
* The default implementation returns an empty list.
+ *
+ * @param target name of a config manager target
+ * @return a list of extra GUI options for an engine plugin and
+ * target
*/
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const {
return ExtraGuiOptions();