summaryrefslogtreecommitdiffstats
path: root/common/domain/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/event.h')
-rw-r--r--common/domain/event.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/domain/event.h b/common/domain/event.h
index d4ce20e..d40e55d 100644
--- a/common/domain/event.h
+++ b/common/domain/event.h
@@ -41,7 +41,10 @@ namespace ApplicationDomain {
41 * Implements all type-specific code such as updating and querying indexes. 41 * Implements all type-specific code such as updating and querying indexes.
42 */ 42 */
43template<> 43template<>
44struct TypeImplementation<Akonadi2::ApplicationDomain::Event> { 44class TypeImplementation<Akonadi2::ApplicationDomain::Event> {
45public:
46 typedef Akonadi2::ApplicationDomain::Buffer::Event Buffer;
47 typedef Akonadi2::ApplicationDomain::Buffer::EventBuilder BufferBuilder;
45 /** 48 /**
46 * Returns the potential result set based on the indexes. 49 * Returns the potential result set based on the indexes.
47 * 50 *
@@ -49,8 +52,8 @@ struct TypeImplementation<Akonadi2::ApplicationDomain::Event> {
49 */ 52 */
50 static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier); 53 static ResultSet queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier);
51 static void index(const Event &type); 54 static void index(const Event &type);
52 static QSharedPointer<ReadPropertyMapper<Akonadi2::ApplicationDomain::Buffer::Event> > initializeReadPropertyMapper(); 55 static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper();
53 static QSharedPointer<WritePropertyMapper<Akonadi2::ApplicationDomain::Buffer::EventBuilder> > initializeWritePropertyMapper(); 56 static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper();
54}; 57};
55 58
56} 59}