aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/abstract/MCAbstractMultipart.h
blob: 11d3366638a9a02046e3048d3dc675330ebbde4c (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
#ifndef __MAILCORE_MCABSTRACTMULTIPART_H

#define __MAILCORE_MCABSTRACTMULTIPART_H

#include <MailCore/MCBaseTypes.h>
#include <MailCore/MCAbstractPart.h>

#ifdef __cplusplus

namespace mailcore {
	
	class AbstractMultipart : public AbstractPart {
	public:
		AbstractMultipart();
		virtual ~AbstractMultipart();
		
		virtual Array * parts();
		virtual void setParts(Array * parts);
		
    public: //subclass behavior
		AbstractMultipart(AbstractMultipart * other);
		virtual String * description();
		virtual Object * copy();
        
        virtual AbstractPart * partForContentID(String * contentID);
        virtual AbstractPart * partForUniqueID(String * uniqueID);
		
	private:
		Array * mParts;
		void init();
	};
}

#endif

#endif