Monotone-Parent: 7c22447764e780a8dae1012384128eed67ba6a5c
Monotone-Revision: 8e645f6ce572b9b56929f17f32c93a52e98cef27 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-12T21:34:07 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
5623714682
commit
8a2abef968
|
@ -17,6 +17,15 @@
|
|||
|
||||
2011-07-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessageTable.m,
|
||||
OpenChange/MAPIStoreContactsMessageTable.m,
|
||||
OpenChange/MAPIStoreFAIMessageTable.m,
|
||||
OpenChange/MAPIStoreFSMessageTable.m,
|
||||
OpenChange/MAPIStoreMailMessageTable.m,
|
||||
OpenChange/MAPIStoreTasksMessageTable.m: overriden
|
||||
"+childObjectClass" to enable "getAvailableProperties:inMemCtx:"
|
||||
to work properly.
|
||||
|
||||
* OpenChange/MAPIStoreTable.m
|
||||
(-getRow:withRowID:andQueryType:inMemCtx:): slight change of
|
||||
prototype in order to leave the structure initialization to the
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#import <NGCards/iCalEvent.h>
|
||||
|
||||
#import "MAPIStoreCalendarMessage.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
#import "NSDate+MAPIStore.h"
|
||||
#import "NSString+MAPIStore.h"
|
||||
|
@ -35,8 +36,20 @@
|
|||
|
||||
#include <mapistore/mapistore_nameid.h>
|
||||
|
||||
static Class MAPIStoreCalendarMessageK = Nil;
|
||||
|
||||
@implementation MAPIStoreCalendarMessageTable
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreCalendarMessageK = [MAPIStoreCalendarMessage class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreCalendarMessageK;
|
||||
}
|
||||
|
||||
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
|
||||
intoQualifier: (EOQualifier **) qualifier
|
||||
{
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#import <Contacts/SOGoContactGCSEntry.h>
|
||||
|
||||
#import "MAPIStoreContactsMessage.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
#import "NSDate+MAPIStore.h"
|
||||
#import "NSArray+MAPIStore.h"
|
||||
|
@ -40,8 +41,20 @@
|
|||
|
||||
#include <mapistore/mapistore_nameid.h>
|
||||
|
||||
static Class MAPIStoreContactsMessageK;
|
||||
|
||||
@implementation MAPIStoreContactsMessageTable
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreContactsMessageK = [MAPIStoreContactsMessage class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreContactsMessageK;
|
||||
}
|
||||
|
||||
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
|
||||
{
|
||||
static NSMutableDictionary *knownProperties = nil;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import "MAPIStoreFAIMessage.h"
|
||||
#import "MAPIStoreFolder.h"
|
||||
|
||||
#import "MAPIStoreFAIMessageTable.h"
|
||||
|
@ -27,8 +28,20 @@
|
|||
#undef DEBUG
|
||||
#include <mapistore/mapistore.h>
|
||||
|
||||
static Class MAPIStoreFAIMessageK = Nil;
|
||||
|
||||
@implementation MAPIStoreFAIMessageTable
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreFAIMessageK = [MAPIStoreFAIMessage class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreFAIMessageK;
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
if ((self = [super init]))
|
||||
|
|
|
@ -37,8 +37,20 @@
|
|||
#undef DEBUG
|
||||
#include <mapistore/mapistore.h>
|
||||
|
||||
static Class MAPIStoreFSMessageK = Nil;
|
||||
|
||||
@implementation MAPIStoreFSMessageTable
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreFSMessageK = [MAPIStoreFSMessage class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreFSMessageK;
|
||||
}
|
||||
|
||||
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
|
||||
{
|
||||
return [NSString stringWithFormat: @"%@", MAPIPropertyKey (property)];
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStoreMailFolder.h"
|
||||
#import "MAPIStoreMailMessage.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
#import "NSData+MAPIStore.h"
|
||||
#import "NSString+MAPIStore.h"
|
||||
|
@ -47,14 +48,20 @@
|
|||
|
||||
@implementation MAPIStoreMailMessageTable
|
||||
|
||||
static Class NSDataK, NSStringK;
|
||||
static Class MAPIStoreMailMessageK, NSDataK, NSStringK;
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreMailMessageK = [MAPIStoreMailMessage class];
|
||||
NSDataK = [NSData class];
|
||||
NSStringK = [NSString class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreMailMessageK;
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
if ((self = [super init]))
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#import <Appointments/SOGoTaskObject.h>
|
||||
|
||||
#import "MAPIStoreTasksMessage.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
#import "NSData+MAPIStore.h"
|
||||
#import "NSDate+MAPIStore.h"
|
||||
|
@ -37,8 +38,20 @@
|
|||
|
||||
#include <mapistore/mapistore_nameid.h>
|
||||
|
||||
static Class MAPIStoreTasksMessageK = Nil;
|
||||
|
||||
@implementation MAPIStoreTasksMessageTable
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
MAPIStoreTasksMessageK = [MAPIStoreTasksMessage class];
|
||||
}
|
||||
|
||||
+ (Class) childObjectClass
|
||||
{
|
||||
return MAPIStoreTasksMessageK;
|
||||
}
|
||||
|
||||
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
|
||||
{
|
||||
static NSMutableDictionary *knownProperties = nil;
|
||||
|
|
Loading…
Reference in New Issue