summaryrefslogtreecommitdiffstats
path: root/src/CommandLineOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommandLineOptions.h')
-rw-r--r--src/CommandLineOptions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CommandLineOptions.h b/src/CommandLineOptions.h
index e75a690..dc56d34 100644
--- a/src/CommandLineOptions.h
+++ b/src/CommandLineOptions.h
@@ -8,6 +8,14 @@ class CommandLineOptions {
public:
CommandLineOptions(int argc, char * const argv[]);
~CommandLineOptions();
+
+ bool contains(const QString& key) const {
+ return options.contains(key);
+ }
+
+ QString value(const QString& key) const {
+ return options.value(key);
+ }
private:
QMap<QString, QString> options;
};