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