diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-14 13:26:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-15 07:12:13 +0200 |
commit | bb70bdcd0eaf72ffc304536267a66c5de5eaf2e9 (patch) | |
tree | 659702de6c71ea8f6e15836e56fd44be625ab553 /common/store.h | |
parent | bd64dd286ddc0c5732b9977f78dc945ac40f5b4f (diff) | |
download | sink-bb70bdcd0eaf72ffc304536267a66c5de5eaf2e9.tar.gz sink-bb70bdcd0eaf72ffc304536267a66c5de5eaf2e9.zip |
Synchronous API
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 6 |
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 | ||
102 | template <class DomainType> | 102 | template <class DomainType> |
103 | KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0); | 103 | KAsync::Job<QList<typename DomainType::Ptr>> SINK_EXPORT fetch(const Sink::Query &query, int minimumAmount = 0); |
104 | |||
105 | template <class DomainType> | ||
106 | DomainType SINK_EXPORT readOne(const Sink::Query &query); | ||
107 | |||
108 | template <class DomainType> | ||
109 | QList<DomainType> SINK_EXPORT read(const Sink::Query &query); | ||
104 | } | 110 | } |
105 | } | 111 | } |