aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPMessagePart.h
blob: 3afb2b987487b2b72970103eb3cc2bcbc75498dd (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
#ifndef __MAILCORE_IMAPMESSAGEPART_H_

#define __MAILCORE_IMAPMESSAGEPART_H_

#include <MailCore/MCAbstractMessagePart.h>

#ifdef __cplusplus

namespace mailcore {
    
    class IMAPMessagePart : public AbstractMessagePart {
    public:
        IMAPMessagePart();
        virtual ~IMAPMessagePart();
        
        virtual void setPartID(String * partID);
        virtual String * partID();
        
    public: // subclass behavior
        IMAPMessagePart(IMAPMessagePart * other);
        virtual Object * copy();
        virtual HashMap * serializable();
        virtual void importSerializable(HashMap * serializable);
        
    private:
        String * mPartID;
        void init();
    };
}

#endif

#endif