aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/rfc822/MCMessagePart.h
blob: 04879ba36ad513d933b790d49e034a1cb4f72fea (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
#ifndef MAILCORE_MCMESSAGEPART_H

#define MAILCORE_MCMESSAGEPART_H

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

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT MessagePart : public AbstractMessagePart {
    public:
        MessagePart();
        virtual ~MessagePart();

        virtual void setPartID(String * partID);
        virtual String * partID();

    public: // subclass behavior
        MessagePart(MessagePart * other);
        virtual Object * copy();

    private:
        String * mPartID;

        void init();
    };
    
}

#endif

#endif