diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-11-18 07:43:29 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-11-18 07:43:29 +0200 |
commit | 25c021cf36e2ce1924d2fb253f147c3ed8726bf2 (patch) | |
tree | 74ea0f86f5ca2533d8bc4171fb0ef38d82204c1b /resourceqt-client/commandlineparser.h | |
parent | 4b949a43b56a2336499c30e2bdc4c1cda8e81a68 (diff) |
Added support for the -p (prefix) flag
Diffstat (limited to 'resourceqt-client/commandlineparser.h')
-rw-r--r-- | resourceqt-client/commandlineparser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resourceqt-client/commandlineparser.h b/resourceqt-client/commandlineparser.h index 000fb80..1d106f4 100644 --- a/resourceqt-client/commandlineparser.h +++ b/resourceqt-client/commandlineparser.h @@ -46,6 +46,7 @@ public: bool shouldAutoRelease() const; bool shouldAlwaysReply() const; bool shouldBeVerbose() const; + QString getPrefix() const; private: QSet<ResourcePolicy::ResourceType> allResources; @@ -57,8 +58,10 @@ private: bool verbose; bool allowUnkownResourceClass; QTextStream output; + QString prefix; bool parseClassString(const QString &str); + void parsePrefix(const QString &str); bool parseModeValues(const QString &modeListStr); void usage(); |