diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-08 17:43:24 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-08 17:43:24 +0200 |
commit | 32a6f2ad3b66431c157e00ba5b1fb40c05e3c407 (patch) | |
tree | b7490c31ee75faf12b8ff0622f9be0032cb64e47 /common/domain/applicationdomaintype.h | |
parent | 6c85a913c06661aa3f095cdf4bf278d5d65b6930 (diff) | |
download | sink-32a6f2ad3b66431c157e00ba5b1fb40c05e3c407.tar.gz sink-32a6f2ad3b66431c157e00ba5b1fb40c05e3c407.zip |
Defined resource capabilities.
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index b011eb5..72ac480 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -252,6 +252,16 @@ namespace ImapResource { | |||
252 | SinkResource SINK_EXPORT create(const QByteArray &account); | 252 | SinkResource SINK_EXPORT create(const QByteArray &account); |
253 | }; | 253 | }; |
254 | 254 | ||
255 | namespace ResourceCapabilities { | ||
256 | namespace Mail { | ||
257 | static constexpr const char *storage = "mail.storage"; | ||
258 | static constexpr const char *drafts = "mail.drafts"; | ||
259 | static constexpr const char *trash = "mail.trash"; | ||
260 | static constexpr const char *transport = "mail.transport"; | ||
261 | static constexpr const char *folderhierarchy = "mail.folderhierarchy"; | ||
262 | }; | ||
263 | }; | ||
264 | |||
255 | /** | 265 | /** |
256 | * All types need to be registered here an MUST return a different name. | 266 | * All types need to be registered here an MUST return a different name. |
257 | * | 267 | * |