diff options
Diffstat (limited to 'common/domain/event.h')
-rw-r--r-- | common/domain/event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/domain/event.h b/common/domain/event.h index e1ca061..684b58e 100644 --- a/common/domain/event.h +++ b/common/domain/event.h | |||
@@ -21,7 +21,6 @@ | |||
21 | #include "applicationdomaintype.h" | 21 | #include "applicationdomaintype.h" |
22 | 22 | ||
23 | #include "storage.h" | 23 | #include "storage.h" |
24 | #include "datastorequery.h" | ||
25 | 24 | ||
26 | class ResultSet; | 25 | class ResultSet; |
27 | class QByteArray; | 26 | class QByteArray; |
@@ -31,6 +30,8 @@ class ReadPropertyMapper; | |||
31 | template<typename T> | 30 | template<typename T> |
32 | class WritePropertyMapper; | 31 | class WritePropertyMapper; |
33 | 32 | ||
33 | class DataStoreQuery; | ||
34 | |||
34 | namespace Sink { | 35 | namespace Sink { |
35 | class Query; | 36 | class Query; |
36 | 37 | ||
@@ -51,7 +52,7 @@ public: | |||
51 | typedef Sink::ApplicationDomain::Buffer::Event Buffer; | 52 | typedef Sink::ApplicationDomain::Buffer::Event Buffer; |
52 | typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; | 53 | typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; |
53 | static QSet<QByteArray> indexedProperties(); | 54 | static QSet<QByteArray> indexedProperties(); |
54 | static DataStoreQuery::Ptr prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); | 55 | static QSharedPointer<DataStoreQuery> prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); |
55 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 56 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
56 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 57 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
57 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); | 58 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); |