From daf96f7efec0538e161eab8e906a291015842e1e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 21 Mar 2017 14:12:14 +0100 Subject: Default domain adaptor --- common/domain/typeimplementations.cpp | 6 ------ common/domain/typeimplementations.h | 31 +++++-------------------------- 2 files changed, 5 insertions(+), 32 deletions(-) (limited to 'common/domain') diff --git a/common/domain/typeimplementations.cpp b/common/domain/typeimplementations.cpp index 38422f4..2bb630c 100644 --- a/common/domain/typeimplementations.cpp +++ b/common/domain/typeimplementations.cpp @@ -29,12 +29,6 @@ #include "mail/threadindexer.h" #include "domainadaptor.h" -#include "mail_generated.h" -#include "folder_generated.h" -#include "event_generated.h" -#include "contact_generated.h" -#include "addressbook_generated.h" - using namespace Sink; using namespace Sink::ApplicationDomain; diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h index cb63949..37d6ca9 100644 --- a/common/domain/typeimplementations.h +++ b/common/domain/typeimplementations.h @@ -20,7 +20,11 @@ #include "applicationdomaintype.h" -class QByteArray; +#include "mail_generated.h" +#include "folder_generated.h" +#include "event_generated.h" +#include "contact_generated.h" +#include "addressbook_generated.h" template class ReadPropertyMapper; @@ -38,11 +42,6 @@ class TypeIndex; namespace Sink { namespace ApplicationDomain { -namespace Buffer { - struct Mail; - struct MailBuilder; -} - template<> class TypeImplementation { public: @@ -54,11 +53,6 @@ public: static void configure(IndexPropertyMapper &indexPropertyMapper); }; -namespace Buffer { - struct Folder; - struct FolderBuilder; -} - template<> class TypeImplementation { public: @@ -70,11 +64,6 @@ public: static void configure(IndexPropertyMapper &indexPropertyMapper); }; -namespace Buffer { - struct Contact; - struct ContactBuilder; -} - template<> class TypeImplementation { public: @@ -86,11 +75,6 @@ public: static void configure(IndexPropertyMapper &indexPropertyMapper); }; -namespace Buffer { - struct Addressbook; - struct AddressbookBuilder; -} - template<> class TypeImplementation { public: @@ -102,11 +86,6 @@ public: static void configure(IndexPropertyMapper &indexPropertyMapper); }; -namespace Buffer { - struct Event; - struct EventBuilder; -} - template<> class TypeImplementation { public: -- cgit v1.2.3