aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/pop/MCPOPMessageInfo.h
blob: be85bc9cef6ad9bce390b540bc9d4f6a13743768 (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
#ifndef MAILCORE_MCPOPMESSAGEINFO_H

#define MAILCORE_MCPOPMESSAGEINFO_H

#include <MailCore/MCBaseTypes.h>

#ifdef __cplusplus

namespace mailcore {
    
    class POPMessageInfo : public Object {
    public:
        POPMessageInfo();
        virtual ~POPMessageInfo();
        
        virtual void setIndex(unsigned int index);
        virtual unsigned int index();
        
        virtual void setSize(unsigned int size);
        virtual unsigned int size();
        
        virtual void setUid(String * uid);
        virtual String * uid();
        
    public: // subclass behavior
        POPMessageInfo(POPMessageInfo * other);
        virtual String * description();
        virtual Object * copy();
        
    private:
        unsigned int mIndex;
        unsigned int mSize;
        String * mUid;
        
        void init();
    };
    
}

#endif

#endif