summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-20 16:00:10 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-20 16:00:10 +0200
commit5475eab39364c7608e1a34504401ff09e3b80726 (patch)
tree68006eefdafb8fab481554e3399b70d145b15265 /examples/imapresource/imapserverproxy.h
parent893f6c75d1da2c0154d68fc5888f9a7cc43b76a6 (diff)
downloadsink-5475eab39364c7608e1a34504401ff09e3b80726.tar.gz
sink-5475eab39364c7608e1a34504401ff09e3b80726.zip
Detect and skip noselect folders
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r--examples/imapresource/imapserverproxy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h
index 95ed704..21228eb 100644
--- a/examples/imapresource/imapserverproxy.h
+++ b/examples/imapresource/imapserverproxy.h
@@ -40,6 +40,14 @@ namespace Flags
40 extern const char* Flagged; 40 extern const char* Flagged;
41} 41}
42 42
43namespace FolderFlags
44{
45 extern const char* Noinferiors;
46 extern const char* Noselect;
47 extern const char* Marked;
48 extern const char* Unmarked;
49}
50
43struct Message { 51struct Message {
44 qint64 uid; 52 qint64 uid;
45 qint64 size; 53 qint64 size;
@@ -64,6 +72,7 @@ struct Folder {
64 QList<QString> pathParts; 72 QList<QString> pathParts;
65 QString path; 73 QString path;
66 QChar separator; 74 QChar separator;
75 bool noselect;
67}; 76};
68 77
69class ImapServerProxy { 78class ImapServerProxy {