aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPSyncResult.h
blob: 683ca6cc467e57e2ee48c88f9d50a94febdf463c (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
//
//  MCIMAPSyncResult.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 3/3/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCIMAPSYNCRESULT_H

#define MAILCORE_MCIMAPSYNCRESULT_H

#include <MailCore/MCBaseTypes.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT IMAPSyncResult : public Object {
    public:
        IMAPSyncResult();
        virtual ~IMAPSyncResult();
        
        virtual void setModifiedOrAddedMessages(Array * /* IMAPMessage */ messages);
        virtual Array * /* IMAPMessage */ modifiedOrAddedMessages();
        
        virtual void setVanishedMessages(IndexSet * vanishedMessages);
        virtual IndexSet * vanishedMessages();
        
    private:
        Array * /* IMAPMessage */ mModifiedOrAddedMessages;
        IndexSet * mVanishedMessages;
    };
    
}

#endif

#endif