aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPFolder.h
blob: 048dfb55df233cb69b342c662335c4d2288c1bd3 (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
//
//  MCOIMAPFolder.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 3/23/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCOIMAPFOLDER_H

#define MAILCORE_MCOIMAPFOLDER_H

/** This class represents an IMAP folder */

#import <Foundation/Foundation.h>
#import <MailCore/MCOConstants.h>

@interface MCOIMAPFolder : NSObject <NSCopying>

/** The folder's path, like for example INBOX.Archive */
@property (nonatomic, copy) NSString * path;

/** It's the delimiter for each component of the path. Commonly . or / */
@property (nonatomic, assign) char delimiter;

/** 
 Any flags the folder may have, like if the folder is for Drafts, Spam, Junk, etc. Or
 it could be marked with metadata like that it has no children.
*/
@property (nonatomic, assign) MCOIMAPFolderFlag flags;

@end

#endif