summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-01-25 11:23:08 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-01-25 11:23:08 +0100
commit3fc8ce958fc244e64a3a3a92f3b1440aae04133b (patch)
tree4ba2b3ca3ee6a17e7f3e7ce67d6ca934626cad7a /common/clientapi.h
parent9b744da32e64d8a6cd342faba8fc3232884d60f2 (diff)
downloadsink-3fc8ce958fc244e64a3a3a92f3b1440aae04133b.tar.gz
sink-3fc8ce958fc244e64a3a3a92f3b1440aae04133b.zip
A way to ensure all messages have been processed.
As queries become reactive this should become less important. We can then just wait until all results become available. For tests it is in either case useful though.
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index 659ae91..55fbed1 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -297,7 +297,7 @@ using namespace async;
297class Query 297class Query
298{ 298{
299public: 299public:
300 Query() : syncOnDemand(true) {} 300 Query() : syncOnDemand(true), processAll(false) {}
301 //Could also be a propertyFilter 301 //Could also be a propertyFilter
302 QStringList resources; 302 QStringList resources;
303 //Could also be a propertyFilter 303 //Could also be a propertyFilter
@@ -307,6 +307,7 @@ public:
307 //Properties to retrieve 307 //Properties to retrieve
308 QSet<QString> requestedProperties; 308 QSet<QString> requestedProperties;
309 bool syncOnDemand; 309 bool syncOnDemand;
310 bool processAll;
310}; 311};
311 312
312 313