diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-20 09:59:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-20 09:59:05 +0200 |
commit | 3a041b4ebdba51d43ec900168b1587371ba83013 (patch) | |
tree | 5dde77887a7b81685005606e2bdf9759b12c6025 /common/domain | |
parent | 81cd0887da80c986fb5ab7bdb057a745bf23a945 (diff) | |
download | sink-3a041b4ebdba51d43ec900168b1587371ba83013.tar.gz sink-3a041b4ebdba51d43ec900168b1587371ba83013.zip |
Fixed a bunch of exports
Diffstat (limited to 'common/domain')
-rw-r--r-- | common/domain/applicationdomaintype.h | 8 | ||||
-rw-r--r-- | common/domain/typeimplementations.h | 13 |
2 files changed, 11 insertions, 10 deletions
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 @@ | |||
82 | namespace Sink { | 82 | namespace Sink { |
83 | namespace ApplicationDomain { | 83 | namespace ApplicationDomain { |
84 | 84 | ||
85 | enum SINK_EXPORT ErrorCode { | 85 | enum ErrorCode { |
86 | NoError = 0, | 86 | NoError = 0, |
87 | UnknownError, | 87 | UnknownError, |
88 | NoServerError, | 88 | NoServerError, |
@@ -95,11 +95,11 @@ enum SINK_EXPORT ErrorCode { | |||
95 | ResourceCrashedError | 95 | ResourceCrashedError |
96 | }; | 96 | }; |
97 | 97 | ||
98 | enum SINK_EXPORT SuccessCode { | 98 | enum SuccessCode { |
99 | TransmissionSuccess | 99 | TransmissionSuccess |
100 | }; | 100 | }; |
101 | 101 | ||
102 | enum SINK_EXPORT SyncStatus { | 102 | enum SyncStatus { |
103 | NoSyncStatus, | 103 | NoSyncStatus, |
104 | SyncInProgress, | 104 | SyncInProgress, |
105 | SyncError, | 105 | SyncError, |
@@ -117,7 +117,7 @@ enum SINK_EXPORT SyncStatus { | |||
117 | * * If an error occurred that keeps the resource from operating (so non transient), the resource enters the error state. | 117 | * * If an error occurred that keeps the resource from operating (so non transient), the resource enters the error state. |
118 | * * If a long running operation is started the resource goes to the busy state (and return to the previous state after that). | 118 | * * If a long running operation is started the resource goes to the busy state (and return to the previous state after that). |
119 | */ | 119 | */ |
120 | enum SINK_EXPORT Status { | 120 | enum Status { |
121 | NoStatus, | 121 | NoStatus, |
122 | OfflineStatus, | 122 | OfflineStatus, |
123 | ConnectedStatus, | 123 | 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 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "sink_export.h" | ||
21 | #include "applicationdomaintype.h" | 22 | #include "applicationdomaintype.h" |
22 | 23 | ||
23 | #include "mail_generated.h" | 24 | #include "mail_generated.h" |
@@ -41,7 +42,7 @@ namespace Sink { | |||
41 | namespace ApplicationDomain { | 42 | namespace ApplicationDomain { |
42 | 43 | ||
43 | template<> | 44 | template<> |
44 | class TypeImplementation<Sink::ApplicationDomain::Mail> { | 45 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Mail> { |
45 | public: | 46 | public: |
46 | typedef Sink::ApplicationDomain::Buffer::Mail Buffer; | 47 | typedef Sink::ApplicationDomain::Buffer::Mail Buffer; |
47 | typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; | 48 | typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; |
@@ -52,7 +53,7 @@ public: | |||
52 | }; | 53 | }; |
53 | 54 | ||
54 | template<> | 55 | template<> |
55 | class TypeImplementation<Sink::ApplicationDomain::Folder> { | 56 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Folder> { |
56 | public: | 57 | public: |
57 | typedef Sink::ApplicationDomain::Buffer::Folder Buffer; | 58 | typedef Sink::ApplicationDomain::Buffer::Folder Buffer; |
58 | typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; | 59 | typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; |
@@ -63,7 +64,7 @@ public: | |||
63 | }; | 64 | }; |
64 | 65 | ||
65 | template<> | 66 | template<> |
66 | class TypeImplementation<Sink::ApplicationDomain::Contact> { | 67 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Contact> { |
67 | public: | 68 | public: |
68 | typedef Sink::ApplicationDomain::Buffer::Contact Buffer; | 69 | typedef Sink::ApplicationDomain::Buffer::Contact Buffer; |
69 | typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; | 70 | typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; |
@@ -74,7 +75,7 @@ public: | |||
74 | }; | 75 | }; |
75 | 76 | ||
76 | template<> | 77 | template<> |
77 | class TypeImplementation<Sink::ApplicationDomain::Addressbook> { | 78 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Addressbook> { |
78 | public: | 79 | public: |
79 | typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; | 80 | typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; |
80 | typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; | 81 | typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; |
@@ -85,7 +86,7 @@ public: | |||
85 | }; | 86 | }; |
86 | 87 | ||
87 | template<> | 88 | template<> |
88 | class TypeImplementation<Sink::ApplicationDomain::Event> { | 89 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Event> { |
89 | public: | 90 | public: |
90 | typedef Sink::ApplicationDomain::Buffer::Event Buffer; | 91 | typedef Sink::ApplicationDomain::Buffer::Event Buffer; |
91 | typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; | 92 | typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; |
@@ -96,7 +97,7 @@ public: | |||
96 | }; | 97 | }; |
97 | 98 | ||
98 | template<> | 99 | template<> |
99 | class TypeImplementation<Sink::ApplicationDomain::Calendar> { | 100 | class SINK_EXPORT TypeImplementation<Sink::ApplicationDomain::Calendar> { |
100 | public: | 101 | public: |
101 | typedef Sink::ApplicationDomain::Buffer::Calendar Buffer; | 102 | typedef Sink::ApplicationDomain::Buffer::Calendar Buffer; |
102 | typedef Sink::ApplicationDomain::Buffer::CalendarBuilder BufferBuilder; | 103 | typedef Sink::ApplicationDomain::Buffer::CalendarBuilder BufferBuilder; |