diff options
| author | Jonathan Bauer | 2011-03-05 16:55:26 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-05 16:55:26 +0100 |
| commit | 602106a89c654762d8963f8ab57142c48dc19983 (patch) | |
| tree | b9865cd69830d0f1cecf3db6a5caf6941982e056 /src/CommandLineOptions.h | |
| parent | misc. (diff) | |
| download | fbgui-602106a89c654762d8963f8ab57142c48dc19983.tar.gz fbgui-602106a89c654762d8963f8ab57142c48dc19983.tar.xz fbgui-602106a89c654762d8963f8ab57142c48dc19983.zip | |
URL parsing now works with CommandLineOptions. Incomplete...
Diffstat (limited to 'src/CommandLineOptions.h')
| -rw-r--r-- | src/CommandLineOptions.h | 8 |
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; }; |
