summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-14 13:26:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-15 07:12:13 +0200
commitbb70bdcd0eaf72ffc304536267a66c5de5eaf2e9 (patch)
tree659702de6c71ea8f6e15836e56fd44be625ab553 /common/store.h
parentbd64dd286ddc0c5732b9977f78dc945ac40f5b4f (diff)
downloadsink-bb70bdcd0eaf72ffc304536267a66c5de5eaf2e9.tar.gz
sink-bb70bdcd0eaf72ffc304536267a66c5de5eaf2e9.zip
Synchronous API
Diffstat (limited to 'common/store.h')
-rw-r--r--common/store.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h
index aed3be4..571ffff 100644
--- a/common/store.h
+++ b/common/store.h
@@ -101,5 +101,11 @@ KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetchAll(const Sink::Qu
101 101
102template <class DomainType> 102template <class DomainType>
103KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0); 103KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0);
104
105template <class DomainType>
106DomainType SINK_EXPORT readOne(const Sink::Query &query);
107
108template <class DomainType>
109QList<DomainType> SINK_EXPORT read(const Sink::Query &query);
104} 110}
105} 111}