From 9f6e0fbfd8cf23104eba5a78f89a69fab1a417f5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 9 Nov 2015 16:04:46 +0100 Subject: Added a folder type --- common/domainadaptor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/domainadaptor.h') diff --git a/common/domainadaptor.h b/common/domainadaptor.h index b14fbcd..620a658 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h @@ -26,6 +26,7 @@ #include "domain/applicationdomaintype.h" #include "domain/event.h" #include "domain/mail.h" +#include "domain/folder.h" #include "bufferadaptor.h" #include "entity_generated.h" #include "metadata_generated.h" -- cgit v1.2.3 From 110817a23463c71eacbc986af3ae509462758a3c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 21 Nov 2015 11:07:47 +0100 Subject: Separated DomainTypeAdaptorFactoryInterface --- common/domainadaptor.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'common/domainadaptor.h') diff --git a/common/domainadaptor.h b/common/domainadaptor.h index 620a658..b541e23 100644 --- a/common/domainadaptor.h +++ b/common/domainadaptor.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 Christian Mollekopf + * Copyright (C) 2014 Christian Mollekopf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +23,7 @@ #include #include +#include "domaintypeadaptorfactoryinterface.h" #include "domain/applicationdomaintype.h" #include "domain/event.h" #include "domain/mail.h" @@ -124,15 +125,6 @@ public: QSharedPointer > mResourceMapper; }; -class DomainTypeAdaptorFactoryInterface -{ -public: - typedef QSharedPointer Ptr; - virtual ~DomainTypeAdaptorFactoryInterface() {}; - virtual QSharedPointer createAdaptor(const Akonadi2::Entity &entity) = 0; - virtual void createBuffer(const Akonadi2::ApplicationDomain::ApplicationDomainType &domainType, flatbuffers::FlatBufferBuilder &fbb, void const *metadataData = 0, size_t metadataSize = 0) = 0; -}; - /** * The factory should define how to go from an entitybuffer (local + resource buffer), to a domain type adapter. * It defines how values are split accross local and resource buffer. -- cgit v1.2.3