summaryrefslogtreecommitdiffstats
path: root/common/facadeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/facadeinterface.h')
-rw-r--r--common/facadeinterface.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/facadeinterface.h b/common/facadeinterface.h
index 5d12360..26a8407 100644
--- a/common/facadeinterface.h
+++ b/common/facadeinterface.h
@@ -29,6 +29,9 @@
29 29
30namespace Sink { 30namespace Sink {
31class Query; 31class Query;
32namespace Log {
33 struct Context;
34}
32 35
33/** 36/**
34 * Interface for the store facade. 37 * Interface for the store facade.
@@ -86,7 +89,7 @@ public:
86 /** 89 /**
87 * Load entities from the store. 90 * Load entities from the store.
88 */ 91 */
89 virtual QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr> load(const Query &query) = 0; 92 virtual QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr> load(const Query &query, const Log::Context &) = 0;
90}; 93};
91 94
92template <class DomainType> 95template <class DomainType>
@@ -119,7 +122,7 @@ public:
119 return KAsync::error<void>(-1, "Failed to create a facade"); 122 return KAsync::error<void>(-1, "Failed to create a facade");
120 } 123 }
121 124
122 QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr> load(const Query &query) 125 QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr> load(const Query &query, const Log::Context &)
123 { 126 {
124 return qMakePair(KAsync::null<void>(), typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr()); 127 return qMakePair(KAsync::null<void>(), typename Sink::ResultEmitter<typename DomainType::Ptr>::Ptr());
125 } 128 }