aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPMoveMessagesOperation.h
blob: 1c4342f5c9c8a05ff892dd64dbc7e9af8afd3836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  IMAPMoveMessagesOperation.hpp
//  mailcore2
//
//  Created by Nikolay Morev on 02/02/16.
//  Copyright © 2016 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCIMAPMOVEMESSAGESOPERATION_H

#define MAILCORE_MCIMAPMOVEMESSAGESOPERATION_H

#include <MailCore/MCIMAPOperation.h>

#ifdef __cplusplus

namespace mailcore {

    class MAILCORE_EXPORT IMAPMoveMessagesOperation : public IMAPOperation {
    public:
        IMAPMoveMessagesOperation();
        virtual ~IMAPMoveMessagesOperation();

        virtual void setDestFolder(String * destFolder);
        virtual String * destFolder();

        virtual void setUids(IndexSet * uids);
        virtual IndexSet * uids();

        // Result.
        virtual HashMap * uidMapping();

    public: // subclass behavior
        virtual void main();

    private:
        IndexSet * mUids;
        String * mDestFolder;
        HashMap * mUidMapping;
    };

}

#endif

#endif