mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-25 13:25:28 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user