From 3a041b4ebdba51d43ec900168b1587371ba83013 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 20 Apr 2018 09:59:05 +0200 Subject: Fixed a bunch of exports --- common/domain/applicationdomaintype.h | 8 ++++---- common/domain/typeimplementations.h | 13 +++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'common/domain') diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 1a34443..c931e91 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h @@ -82,7 +82,7 @@ namespace Sink { namespace ApplicationDomain { -enum SINK_EXPORT ErrorCode { +enum ErrorCode { NoError = 0, UnknownError, NoServerError, @@ -95,11 +95,11 @@ enum SINK_EXPORT ErrorCode { ResourceCrashedError }; -enum SINK_EXPORT SuccessCode { +enum SuccessCode { TransmissionSuccess }; -enum SINK_EXPORT SyncStatus { +enum SyncStatus { NoSyncStatus, SyncInProgress, SyncError, @@ -117,7 +117,7 @@ enum SINK_EXPORT SyncStatus { * * If an error occurred that keeps the resource from operating (so non transient), the resource enters the error state. * * If a long running operation is started the resource goes to the busy state (and return to the previous state after that). */ -enum SINK_EXPORT Status { +enum Status { NoStatus, OfflineStatus, ConnectedStatus, diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h index 7a8a602..672e83a 100644 --- a/common/domain/typeimplementations.h +++ b/common/domain/typeimplementations.h @@ -18,6 +18,7 @@ */ #pragma once +#include "sink_export.h" #include "applicationdomaintype.h" #include "mail_generated.h" @@ -41,7 +42,7 @@ namespace Sink { namespace ApplicationDomain { template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Mail Buffer; typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; @@ -52,7 +53,7 @@ public: }; template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Folder Buffer; typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; @@ -63,7 +64,7 @@ public: }; template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Contact Buffer; typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; @@ -74,7 +75,7 @@ public: }; template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; @@ -85,7 +86,7 @@ public: }; template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Event Buffer; typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; @@ -96,7 +97,7 @@ public: }; template<> -class TypeImplementation { +class SINK_EXPORT TypeImplementation { public: typedef Sink::ApplicationDomain::Buffer::Calendar Buffer; typedef Sink::ApplicationDomain::Buffer::CalendarBuilder BufferBuilder; -- cgit v1.2.3