aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPFolder.h
blob: 5d9c111f9f27dad24d05839967548068cf97c5bd (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_MCIMAPFOLDER_H

#define MAILCORE_MCIMAPFOLDER_H

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

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT IMAPFolder : public Object {
    public:
        IMAPFolder();
        virtual ~IMAPFolder();
        
        virtual void setPath(String * path);
        virtual String * path();
        
        virtual void setDelimiter(char delimiter);
        virtual char delimiter();
        
        virtual void setFlags(IMAPFolderFlag flags);
        virtual IMAPFolderFlag flags();
        
    public: // subclass behavior
        IMAPFolder(IMAPFolder * other);
        virtual Object * copy();
        virtual String * description();
        
    private:
        String * mPath;
        char mDelimiter;
        IMAPFolderFlag mFlags;
        void init();
    };
    
}

#endif

#endif