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