From 25c021cf36e2ce1924d2fb253f147c3ed8726bf2 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Thu, 18 Nov 2010 07:43:29 +0200 Subject: Added support for the -p (prefix) flag --- resourceqt-client/client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'resourceqt-client/client.h') diff --git a/resourceqt-client/client.h b/resourceqt-client/client.h index c22475d..140c668 100644 --- a/resourceqt-client/client.h +++ b/resourceqt-client/client.h @@ -70,6 +70,7 @@ private: QString applicationClass; ResourcePolicy::ResourceSet *resourceSet; QTextStream output; + QString prefix; static QMap commandList; -- cgit v1.2.3 From 2db176e028c54684e2fe6adf58ab0c5807d298c9 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Thu, 18 Nov 2010 08:11:11 +0200 Subject: Took -i and -v flags into use --- resourceqt-client/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resourceqt-client/client.h') diff --git a/resourceqt-client/client.h b/resourceqt-client/client.h index 140c668..3967fee 100644 --- a/resourceqt-client/client.h +++ b/resourceqt-client/client.h @@ -71,6 +71,7 @@ private: ResourcePolicy::ResourceSet *resourceSet; QTextStream output; QString prefix; + bool showTimings; static QMap commandList; @@ -80,6 +81,8 @@ private: void showPrompt(); void showResources(const QList &resList); void showResources(const QList &resList); + inline void startTimer(); + inline void stopTimer(); }; QTextStream & operator<< (QTextStream &output, -- cgit v1.2.3