diff options
Diffstat (limited to 'common/domain/event.h')
-rw-r--r-- | common/domain/event.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/domain/event.h b/common/domain/event.h index 13cfc6e..f21cd34 100644 --- a/common/domain/event.h +++ b/common/domain/event.h | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #include "applicationdomaintype.h" | 21 | #include "applicationdomaintype.h" |
22 | 22 | ||
23 | #include "storage.h" | ||
24 | |||
23 | class ResultSet; | 25 | class ResultSet; |
24 | class QByteArray; | 26 | class QByteArray; |
25 | 27 | ||
@@ -53,8 +55,8 @@ public: | |||
53 | * | 55 | * |
54 | * An empty result set indicates that a full scan is required. | 56 | * An empty result set indicates that a full scan is required. |
55 | */ | 57 | */ |
56 | static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters); | 58 | static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters, Akonadi2::Storage::Transaction &transaction); |
57 | static void index(const Event &type); | 59 | static void index(const Event &type, Akonadi2::Storage::Transaction &transaction); |
58 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); | 60 | static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); |
59 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); | 61 | static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper(); |
60 | }; | 62 | }; |