aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2019-11-12 13:56:18 -0500
committerRussell Yanofsky <russ@yanofsky.org>2019-11-13 04:20:30 -0500
commit0fa54358b06b58f4d17073bcc8a959eb9498aadc (patch)
tree1b525815e05e08b6af223202da9b9a6679d7b8a2 /src/util/system.h
parent3e185522ace1678e0a25b9cf8a5553a4bc279bea (diff)
refactor: Add ArgsManager::GetSettingsList method
Add for consistency with ArgsManager::GetSetting method and to make setting types accessible to ArgsManager callers and tests (test added next commit). This commit does not change behavior.
Diffstat (limited to 'src/util/system.h')
-rw-r--r--src/util/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/system.h b/src/util/system.h
index 4db3028196..633560d70c 100644
--- a/src/util/system.h
+++ b/src/util/system.h
@@ -180,6 +180,11 @@ protected:
*/
util::SettingsValue GetSetting(const std::string& arg) const;
+ /**
+ * Get list of setting values.
+ */
+ std::vector<util::SettingsValue> GetSettingsList(const std::string& arg) const;
+
public:
ArgsManager();