mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-14 21:04:53 +00:00
Monotone-Parent: c3b32ea543ff55ff243677d396e4119c69bc0fbc
Monotone-Revision: 137c790e1a56597f25936f21d69eb6a067d1dc8d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-19T22:26:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
#import <SOGo/SOGoUserDefaults.h>
|
||||
#import <Appointments/SOGoAppointmentObject.h>
|
||||
|
||||
#import "MAPIStoreAttachmentTable.h"
|
||||
#import "MAPIStoreCalendarAttachment.h"
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStoreRecurrenceUtils.h"
|
||||
@@ -566,11 +565,6 @@ _fillAppointmentRecurrencePattern (struct AppointmentRecurrencePattern *arp,
|
||||
return [attachmentParts objectForKey: childKey];
|
||||
}
|
||||
|
||||
- (MAPIStoreAttachmentTable *) attachmentTable
|
||||
{
|
||||
return [MAPIStoreAttachmentTable tableForContainer: self];
|
||||
}
|
||||
|
||||
- (MAPIStoreAttachment *) createAttachment
|
||||
{
|
||||
MAPIStoreCalendarAttachment *newAttachment;
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#import <Mailer/SOGoDraftObject.h>
|
||||
#import <NGObjWeb/WOContext+SoObjects.h>
|
||||
|
||||
#import "MAPIStoreAttachmentTable.h"
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStoreDraftsAttachment.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
@@ -165,11 +164,6 @@ e)
|
||||
[self _saveAttachment: [attachmentKeys objectAtIndex: count]];
|
||||
}
|
||||
|
||||
- (MAPIStoreAttachmentTable *) attachmentTable
|
||||
{
|
||||
return [MAPIStoreAttachmentTable tableForContainer: self];
|
||||
}
|
||||
|
||||
- (MAPIStoreAttachment *) createAttachment
|
||||
{
|
||||
MAPIStoreDraftsAttachment *newAttachment;
|
||||
|
||||
@@ -86,11 +86,6 @@ static Class NSExceptionK, MAPIStoreSentItemsFolderK, MAPIStoreDraftsFolderK;
|
||||
MAPIStoreDraftsFolderK = [MAPIStoreDraftsFolder class];
|
||||
}
|
||||
|
||||
- (MAPIStoreAttachmentTable *) attachmentTable
|
||||
{
|
||||
return [MAPIStoreAttachmentTable tableForContainer: self];
|
||||
}
|
||||
|
||||
- (int) getPrIconIndex: (void **) data
|
||||
{
|
||||
uint32_t longValue;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
#import <SOGo/SOGoObject.h>
|
||||
|
||||
#import "MAPIStoreAttachmentTable.h"
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
#import "NSData+MAPIStore.h"
|
||||
@@ -301,7 +302,7 @@
|
||||
stringValue = [NSString stringWithFormat: @"SOGo%@%@%@",
|
||||
stringValue, stringValue, stringValue];
|
||||
*data = [[stringValue dataUsingEncoding: NSASCIIStringEncoding]
|
||||
asShortBinaryInMemCtx: memCtx];
|
||||
asBinaryInMemCtx: memCtx];
|
||||
}
|
||||
else
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
@@ -416,9 +417,7 @@
|
||||
|
||||
- (MAPIStoreAttachmentTable *) attachmentTable
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
return nil;
|
||||
return [MAPIStoreAttachmentTable tableForContainer: self];
|
||||
}
|
||||
|
||||
- (void) addActiveTable: (MAPIStoreTable *) activeTable
|
||||
|
||||
Reference in New Issue
Block a user