summaryrefslogtreecommitdiff
path: root/resourceqt-client/commandlineparser.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-11-18 08:18:10 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-11-18 08:18:10 +0200
commit6a47ede3a71e22b09a09169818705351c00abf9d (patch)
tree83a4c008606ed5de7db8a227fa75f26164f6a308 /resourceqt-client/commandlineparser.h
parente205f049b23a16eca17cc66b70e0c285db538c2b (diff)
parent2db176e028c54684e2fe6adf58ab0c5807d298c9 (diff)
Merge branch 'master' into meego
Diffstat (limited to 'resourceqt-client/commandlineparser.h')
-rw-r--r--resourceqt-client/commandlineparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/resourceqt-client/commandlineparser.h b/resourceqt-client/commandlineparser.h
index 000fb80..deab478 100644
--- a/resourceqt-client/commandlineparser.h
+++ b/resourceqt-client/commandlineparser.h
@@ -46,6 +46,8 @@ public:
bool shouldAutoRelease() const;
bool shouldAlwaysReply() const;
bool shouldBeVerbose() const;
+ QString getPrefix() const;
+ bool showTimings() const;
private:
QSet<ResourcePolicy::ResourceType> allResources;
@@ -57,8 +59,11 @@ private:
bool verbose;
bool allowUnkownResourceClass;
QTextStream output;
+ QString prefix;
+ bool timings;
bool parseClassString(const QString &str);
+ void parsePrefix(const QString &str);
bool parseModeValues(const QString &modeListStr);
void usage();