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

#ifndef __mailcore2__MCPOPFetchHeaderOperation__
#define __mailcore2__MCPOPFetchHeaderOperation__

#include <mailcore/MCPOPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MessageHeader;
    
    class POPFetchHeaderOperation : public POPOperation {
    public:
        POPFetchHeaderOperation();
        virtual ~POPFetchHeaderOperation();
        
        virtual void setMessageIndex(unsigned int messageIndex);
        virtual unsigned int messageIndex();
        
        virtual MessageHeader * header();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        unsigned int mMessageIndex;
        MessageHeader * mHeader;
        
    };
}

#endif

#endif /* defined(__mailcore2__MCPOPFetchHeaderOperation__) */