From 602106a89c654762d8963f8ab57142c48dc19983 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 16:55:26 +0100 Subject: URL parsing now works with CommandLineOptions. Incomplete... --- src/CommandLineOptions.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/CommandLineOptions.h') 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 options; }; -- cgit v1.2.3-55-g7522