Monotone-Parent: 3ad8d11f70ec6e6370751cd72269263405a290a1
Monotone-Revision: 2e84cd33211e690f4a1d23f18f557220df113d36 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-10-23T15:55:56 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
4c6ce949d6
commit
a6b4207510
|
@ -36,6 +36,7 @@
|
|||
|
||||
@class NSData, NSArray, NSException, NSMutableArray;
|
||||
@class NGImap4MailboxInfo;
|
||||
@class WOResponse;
|
||||
|
||||
typedef enum {
|
||||
undefined = -1,
|
||||
|
@ -61,6 +62,13 @@ typedef enum {
|
|||
- (NSArray *) fetchUIDsMatchingQualifier: (id)_q sortOrdering: (id) _so;
|
||||
- (NSArray *) fetchUIDs: (NSArray *) _uids parts: (NSArray *) _parts;
|
||||
|
||||
- (WOResponse *) copyUIDs: (NSArray *) uids
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext;
|
||||
- (WOResponse *) moveUIDs: (NSArray *) uids
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext;
|
||||
|
||||
- (NSException *) postData: (NSData *) _data flags: (id) _flags;
|
||||
|
||||
- (void) markForExpunge;
|
||||
|
|
|
@ -398,8 +398,8 @@ static NSString *spoolFolder = nil;
|
|||
}
|
||||
|
||||
- (WOResponse *) copyUIDs: (NSArray *) uids
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext
|
||||
{
|
||||
NSEnumerator *folders;
|
||||
NSString *currentFolderName;
|
||||
|
@ -434,8 +434,8 @@ static NSString *spoolFolder = nil;
|
|||
}
|
||||
|
||||
- (WOResponse *) moveUIDs: (NSArray *) uids
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext
|
||||
toFolder: (NSString *) destinationFolder
|
||||
inContext: (id) localContext
|
||||
{
|
||||
id result;
|
||||
NGImap4Client *client;
|
||||
|
|
|
@ -109,7 +109,7 @@ static NSArray *infoKeys = nil;
|
|||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
[self setPriority: @"NORMAL"];
|
||||
priority = @"NORMAL";
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
if ([value length] > 0)
|
||||
{
|
||||
uids = [value componentsSeparatedByString: @","];
|
||||
response = [co deleteUIDs: uids inContext: context];
|
||||
response = (WOResponse *) [co deleteUIDs: uids inContext: context];
|
||||
if (!response)
|
||||
response = [self responseWith204];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue