aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/pop/MCPOPMessageInfo.h
blob: 5a87b3e496eb96bd9426d14e0652ef8b8ea0942d (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