summaryrefslogtreecommitdiffstats
path: root/common/resultset.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-18 12:44:12 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-21 09:18:49 +0200
commit71a0167e0216f84588b492c84e92667847fbe5a5 (patch)
tree016718fe0ab13359e9738b9ddbf2450b05bb4603 /common/resultset.h
parent2a9c738b813133d398683596df6d41d355e3cb3b (diff)
downloadsink-71a0167e0216f84588b492c84e92667847fbe5a5.tar.gz
sink-71a0167e0216f84588b492c84e92667847fbe5a5.zip
Use the ApplicationDomainType in the queries as well.
We have to access properties, so we need the mapper anyways, and the ApplicationDomainType type shouldn't be a large overhead anyways.
Diffstat (limited to 'common/resultset.h')
-rw-r--r--common/resultset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/resultset.h b/common/resultset.h
index a86a2e2..4f2c278 100644
--- a/common/resultset.h
+++ b/common/resultset.h
@@ -24,6 +24,7 @@
24#include <functional> 24#include <functional>
25#include "metadata_generated.h" 25#include "metadata_generated.h"
26#include "entitybuffer.h" 26#include "entitybuffer.h"
27#include "applicationdomaintype.h"
27 28
28/* 29/*
29 * An iterator to a result set. 30 * An iterator to a result set.
@@ -34,8 +35,7 @@ class ResultSet
34{ 35{
35public: 36public:
36 struct Result { 37 struct Result {
37 QByteArray uid; 38 Sink::ApplicationDomain::ApplicationDomainType entity;
38 Sink::EntityBuffer buffer;
39 Sink::Operation operation; 39 Sink::Operation operation;
40 QMap<QByteArray, QVariant> aggregateValues; 40 QMap<QByteArray, QVariant> aggregateValues;
41 }; 41 };