Monotone-Parent: f53e825f6b4a776609eb936acf3689a2764a4835

Monotone-Revision: 1288d25c97ff5e717bd16a11bc535a0f3b6c3eed

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-19T20:58:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-11-19 20:58:20 +00:00
parent 8b4f586fe7
commit f360278c5d
+2 -20
View File
@@ -27,30 +27,12 @@
#import <NGExtensions/NSObject+Logs.h>
#import <NGCards/NGVCard.h>
#import "MAPIStoreTypes.h"
#import "SOGoContactGCSEntry+MAPIStore.h"
#undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
@implementation SOGoContactGCSEntry (MAPIStoreMessage)
#if (GS_SIZEOF_LONG == 4)
static inline NSNumber *
MAPIPropertyNumber (unsigned long propTag)
{
return [NSNumber numberWithUnsignedLong: propTag];
}
#elif (GS_SIZEOF_INT == 4)
static inline NSNumber *
MAPIPropertyNumber (unsigned int propTag)
{
return [NSNumber numberWithUnsignedInt: propTag];
}
#else
#error No suitable type for 4 bytes integers
#endif
- (void) setMAPIProperties: (NSDictionary *) properties
{
NGVCard *newCard, *oldCard;