aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPOperationCallback.h
blob: c5e14ffb201e0ad62ee26295e63ed03e9180ca14 (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
//
//  MCIMAPOperationCallback.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 1/12/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCIMAPOPERATIONCALLBACK_H

#define MAILCORE_MCIMAPOPERATIONCALLBACK_H

#include <MailCore/MCUtils.h>

#ifdef __cplusplus

namespace mailcore {
    
    class IMAPOperation;
    
    class MAILCORE_EXPORT IMAPOperationCallback {
    public:
        virtual void bodyProgress(IMAPOperation * session, unsigned int current, unsigned int maximum) {};
        virtual void itemProgress(IMAPOperation * session, unsigned int current, unsigned int maximum) {};
    };
    
}

#endif

#endif