diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-18 10:37:31 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-18 10:37:31 +0200 |
commit | 64bba04624b08ace6028d8f3408335a9c2bae10e (patch) | |
tree | 9070703564c55025e84d76a7239747130f2d645b /common/domain/applicationdomaintype.h | |
parent | cc1911d53b481548c082ced3081d8b587a0ddd74 (diff) | |
download | sink-64bba04624b08ace6028d8f3408335a9c2bae10e.tar.gz sink-64bba04624b08ace6028d8f3408335a9c2bae10e.zip |
Namespaces can't be used in templates.
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 0742cfc..67f33c8 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -301,17 +301,20 @@ struct SINK_EXPORT Identity : public ApplicationDomainType { | |||
301 | virtual ~Identity(); | 301 | virtual ~Identity(); |
302 | }; | 302 | }; |
303 | 303 | ||
304 | namespace DummyResource { | 304 | struct SINK_EXPORT DummyResource { |
305 | SinkResource SINK_EXPORT create(const QByteArray &account); | 305 | static SinkResource create(const QByteArray &account); |
306 | }; | 306 | }; |
307 | namespace MaildirResource { | 307 | |
308 | SinkResource SINK_EXPORT create(const QByteArray &account); | 308 | struct SINK_EXPORT MaildirResource { |
309 | static SinkResource create(const QByteArray &account); | ||
309 | }; | 310 | }; |
310 | namespace MailtransportResource { | 311 | |
311 | SinkResource SINK_EXPORT create(const QByteArray &account); | 312 | struct SINK_EXPORT MailtransportResource { |
313 | static SinkResource create(const QByteArray &account); | ||
312 | }; | 314 | }; |
313 | namespace ImapResource { | 315 | |
314 | SinkResource SINK_EXPORT create(const QByteArray &account); | 316 | struct SINK_EXPORT ImapResource { |
317 | static SinkResource create(const QByteArray &account); | ||
315 | }; | 318 | }; |
316 | 319 | ||
317 | namespace ResourceCapabilities { | 320 | namespace ResourceCapabilities { |