summaryrefslogtreecommitdiffstats
path: root/common/domain
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-01 01:03:18 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-01 01:05:01 +0100
commitc08c329580a6f5e5da1ebba931461e7e7e47ba72 (patch)
treea60e2c3c5d189d554bd69de600d96d024b49e864 /common/domain
parent4be4995e7b430226b763f06a051fd0e5cbf398ab (diff)
downloadsink-c08c329580a6f5e5da1ebba931461e7e7e47ba72.tar.gz
sink-c08c329580a6f5e5da1ebba931461e7e7e47ba72.zip
Filter resources by the types they support.
This avoid uselessly querying resources only to discover that they don't have a facade for the type.
Diffstat (limited to 'common/domain')
-rw-r--r--common/domain/applicationdomaintype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index fee6344..be04db9 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -418,6 +418,8 @@ struct SINK_EXPORT ImapResource {
418 418
419namespace ResourceCapabilities { 419namespace ResourceCapabilities {
420namespace Mail { 420namespace Mail {
421 static constexpr const char *mail = "mail";
422 static constexpr const char *folder = "folder";
421 static constexpr const char *storage = "mail.storage"; 423 static constexpr const char *storage = "mail.storage";
422 static constexpr const char *drafts = "mail.drafts"; 424 static constexpr const char *drafts = "mail.drafts";
423 static constexpr const char *sent = "mail.sent"; 425 static constexpr const char *sent = "mail.sent";