diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-25 10:20:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-25 10:20:51 +0200 |
commit | 76892330fbf737cbdb09dc7bc4099418fc4cd1cc (patch) | |
tree | 204b3d3067caa88869e3a6ff0ae811b1ec2416a9 /examples/imapresource/imapserverproxy.h | |
parent | 39a20d8ce774f94f22009d4e571bfa39ba087f3b (diff) | |
download | sink-76892330fbf737cbdb09dc7bc4099418fc4cd1cc.tar.gz sink-76892330fbf737cbdb09dc7bc4099418fc4cd1cc.zip |
Convenience fetch overload
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r-- | examples/imapresource/imapserverproxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h index 7000c67..a5a1296 100644 --- a/examples/imapresource/imapserverproxy.h +++ b/examples/imapresource/imapserverproxy.h | |||
@@ -80,6 +80,7 @@ public: | |||
80 | const QMap<qint64,KIMAP::MessagePtr> &)> FetchCallback; | 80 | const QMap<qint64,KIMAP::MessagePtr> &)> FetchCallback; |
81 | 81 | ||
82 | KAsync::Job<void> fetch(const KIMAP::ImapSet &set, KIMAP::FetchJob::FetchScope scope, FetchCallback callback); | 82 | KAsync::Job<void> fetch(const KIMAP::ImapSet &set, KIMAP::FetchJob::FetchScope scope, FetchCallback callback); |
83 | KAsync::Job<void> fetch(const KIMAP::ImapSet &set, KIMAP::FetchJob::FetchScope scope, const std::function<void(const QVector<Message> &)> &callback); | ||
83 | KAsync::Job<void> list(KIMAP::ListJob::Option option, const std::function<void(const QList<KIMAP::MailBoxDescriptor> &mailboxes,const QList<QList<QByteArray> > &flags)> &callback); | 84 | KAsync::Job<void> list(KIMAP::ListJob::Option option, const std::function<void(const QList<KIMAP::MailBoxDescriptor> &mailboxes,const QList<QList<QByteArray> > &flags)> &callback); |
84 | 85 | ||
85 | //Composed calls that do login etc. | 86 | //Composed calls that do login etc. |