summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r--examples/imapresource/imapserverproxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h
index a5a1296..cf315df 100644
--- a/examples/imapresource/imapserverproxy.h
+++ b/examples/imapresource/imapserverproxy.h
@@ -69,6 +69,7 @@ public:
69 KAsync::Job<void> append(const QString &mailbox, const QByteArray &content, const QList<QByteArray> &flags = QList<QByteArray>(), const QDateTime &internalDate = QDateTime()); 69 KAsync::Job<void> append(const QString &mailbox, const QByteArray &content, const QList<QByteArray> &flags = QList<QByteArray>(), const QDateTime &internalDate = QDateTime());
70 KAsync::Job<void> store(const KIMAP::ImapSet &set, const QList<QByteArray> &flags); 70 KAsync::Job<void> store(const KIMAP::ImapSet &set, const QList<QByteArray> &flags);
71 KAsync::Job<void> create(const QString &mailbox); 71 KAsync::Job<void> create(const QString &mailbox);
72 KAsync::Job<void> rename(const QString &mailbox, const QString &newMailbox);
72 KAsync::Job<void> remove(const QString &mailbox); 73 KAsync::Job<void> remove(const QString &mailbox);
73 KAsync::Job<void> expunge(); 74 KAsync::Job<void> expunge();
74 75
@@ -87,8 +88,8 @@ public:
87 KAsync::Job<QList<qint64>> fetchHeaders(const QString &mailbox); 88 KAsync::Job<QList<qint64>> fetchHeaders(const QString &mailbox);
88 KAsync::Job<void> remove(const QString &mailbox, const QByteArray &imapSet); 89 KAsync::Job<void> remove(const QString &mailbox, const QByteArray &imapSet);
89 90
90 KAsync::Future<void> fetchFolders(std::function<void(const QVector<Folder> &)> callback); 91 KAsync::Job<void> fetchFolders(std::function<void(const QVector<Folder> &)> callback);
91 KAsync::Future<void> fetchMessages(const Folder &folder, std::function<void(const QVector<Message> &)> callback); 92 KAsync::Job<void> fetchMessages(const Folder &folder, std::function<void(const QVector<Message> &)> callback);
92}; 93};
93 94
94} 95}