aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPFolder.h
blob: 97259f1af6991a2decfe7ec14e91e5064fb50949 (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
#ifndef __MAILCORE_MCIMAPFOLDER_H

#define __MAILCORE_MCIMAPFOLDER_H

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

#ifdef __cplusplus

namespace mailcore {
	
	class 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();
        
	private:
		String * mPath;
		char mDelimiter;
		IMAPFolderFlag mFlags;
		void init();
	};
	
}

#endif

#endif