From 9a03eb1a54c6289773bc1b8eb96181ed01553927 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 20 Oct 2016 15:25:05 +0200 Subject: TypeImplementation cleanup --- common/domain/mail.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'common/domain/mail.h') diff --git a/common/domain/mail.h b/common/domain/mail.h index c0cfc55..c12976a 100644 --- a/common/domain/mail.h +++ b/common/domain/mail.h @@ -20,12 +20,7 @@ #include "applicationdomaintype.h" -#include "storage.h" -#include "storage/entitystore.h" - -class ResultSet; class QByteArray; -class DataStoreQuery; template class ReadPropertyMapper; @@ -35,8 +30,6 @@ class WritePropertyMapper; class TypeIndex; namespace Sink { - class Query; - namespace ApplicationDomain { namespace Buffer { struct Mail; @@ -48,10 +41,9 @@ class TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Mail Buffer; typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; - static void configureIndex(TypeIndex &index); - static QSet indexedProperties(); - static QSharedPointer > initializeReadPropertyMapper(); - static QSharedPointer > initializeWritePropertyMapper(); + static void configure(TypeIndex &index); + static void configure(ReadPropertyMapper &propertyMapper); + static void configure(WritePropertyMapper &propertyMapper); }; } -- cgit v1.2.3