diff options
Diffstat (limited to 'src/async/imap/MCIMAPAsyncSession.h')
-rw-r--r-- | src/async/imap/MCIMAPAsyncSession.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/async/imap/MCIMAPAsyncSession.h b/src/async/imap/MCIMAPAsyncSession.h index 0230deda..05437207 100644 --- a/src/async/imap/MCIMAPAsyncSession.h +++ b/src/async/imap/MCIMAPAsyncSession.h @@ -24,6 +24,7 @@ namespace mailcore { class IMAPMoveMessagesOperation; class IMAPFetchMessagesOperation; class IMAPFetchContentOperation; + class IMAPFetchContentToFileOperation; class IMAPFetchParsedContentOperation; class IMAPIdleOperation; class IMAPFolderInfoOperation; @@ -142,7 +143,13 @@ namespace mailcore { virtual IMAPFetchContentOperation * fetchMessageByUIDOperation(String * folder, uint32_t uid, bool urgent = false); virtual IMAPFetchContentOperation * fetchMessageAttachmentByUIDOperation(String * folder, uint32_t uid, String * partID, Encoding encoding, bool urgent = false); - + + virtual IMAPFetchContentToFileOperation * fetchMessageAttachmentToFileByUIDOperation( + String * folder, uint32_t uid, String * partID, + Encoding encoding, + String * filename, + bool urgent = false); + virtual IMAPFetchContentOperation * fetchMessageByNumberOperation(String * folder, uint32_t number, bool urgent = false); virtual IMAPCustomCommandOperation * customCommand(String *command, bool urgent); virtual IMAPFetchContentOperation * fetchMessageAttachmentByNumberOperation(String * folder, uint32_t number, String * partID, |