mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Monotone-Parent: 0bf13271077dfd22aaca8a2663fe7490f9d84cb3
Monotone-Revision: a216f87669942e793f9124b63661a5ae82105c1d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-01T16:28:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
6951e6a527
commit
c6b8cb5a1c
8 files changed
+74
-5
No files matched your search
@@ -48,6 +48,8 @@
|
||||
SOGoTrashFolder *trashFolder;
|
||||
}
|
||||
|
||||
- (BOOL) supportsQuotas;
|
||||
|
||||
/* folder pathes */
|
||||
|
||||
- (NSArray *) allFolderPaths;
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
#import <NGExtensions/NSNull+misc.h>
|
||||
#import <NGImap4/NGImap4Connection.h>
|
||||
#import <NGImap4/NGImap4Client.h>
|
||||
#import <NGImap4/NGImap4Context.h>
|
||||
|
||||
#import <SoObjects/SOGo/NSArray+Utilities.h>
|
||||
#import <SoObjects/SOGo/SOGoUser.h>
|
||||
@@ -170,6 +172,15 @@ static NSString *otherUsersFolderName = @""; // TODO: add English default
|
||||
return folders;
|
||||
}
|
||||
|
||||
- (BOOL) supportsQuotas
|
||||
{
|
||||
NGImap4Client *imapClient;
|
||||
|
||||
imapClient = [[self imap4Connection] client];
|
||||
|
||||
return [[imapClient context] canQuota];
|
||||
}
|
||||
|
||||
/* hierarchy */
|
||||
|
||||
- (SOGoMailAccount *) mailAccountFolder
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
|
||||
@interface SOGoMailAccounts : SOGoFolder
|
||||
|
||||
- (NSArray *) toManyRelationshipKeys;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* __Mailer_SOGoMailAccounts_H__ */
|
||||
@@ -76,6 +76,7 @@ static NSString *AgenorShareLoginMarker = @".-.";
|
||||
}
|
||||
|
||||
ct = [[ctClass alloc] initWithName:_key inContainer:self];
|
||||
|
||||
return [ct autorelease];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user