mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-14 01:38:51 +00:00
Monotone-Parent: a12dbbc9418dd5823b93f9c1246417a6c1fa121a
Monotone-Revision: 56370c6160c963011c084c7793dbe96aef748e92 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-22T19:43:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
2011-11-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSArray+MAPIStore.m (-asMVUnicodeInMemCtx:) renamed
|
||||
from "asArrayOfUnicodeStringsInCtx".
|
||||
|
||||
* OpenChange/MAPIStoreTypes.m (NSObjectFromValuePointer):
|
||||
simplified method by using set_SPropValue_proptag and
|
||||
NSObjectFromSPropValue.
|
||||
|
||||
* OpenChange/NSObject+MAPIStore.m (-getValue:forTag:inMemCtx:):
|
||||
renamed from "getMAPIValue:...".
|
||||
(-asArrayOfUnicodeStringsInMemCtx:) renamed from "asArrayOfUnicodeStringsInCtx".
|
||||
(-arrayFromMAPIMVLong:, +arrayFromMAPIMVUnicode:)
|
||||
(+arrayFromMAPIMVString:, +arrayFromMAPIMVBinary:)
|
||||
(+arrayFromMAPIMVGuid:, +arrayFromMVShort:, +arrayFromMVLong:)
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
if (!stringValue)
|
||||
stringValue = @"";
|
||||
*data = [[NSArray arrayWithObject: stringValue]
|
||||
asArrayOfUnicodeStringsInMemCtx: memCtx];
|
||||
asMVUnicodeInMemCtx: memCtx];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
+ (id) arrayFromMVI8: (const struct I8Array_r *) mvI8;
|
||||
+ (id) arrayFromMVString: (const struct StringArray_r *) mvString;
|
||||
+ (id) arrayFromMVUnicode: (const struct WStringArray_r *) mvUnicode;
|
||||
- (struct WStringArray_r *) asArrayOfUnicodeStringsInMemCtx: (void *) memCtx;
|
||||
- (struct WStringArray_r *) asMVUnicodeInMemCtx: (void *) memCtx;
|
||||
+ (id) arrayFromMVBinary: (const struct BinaryArray_r *) mvBinary;
|
||||
+ (id) arrayFromMVGuid: (const struct FlatUIDArray_r *) mvGuid;
|
||||
+ (id) arrayFromMVFileTime: (const struct DateTimeArray_r *) mvGuid;
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
- (struct WStringArray_r *) asArrayOfUnicodeStringsInMemCtx: (void *) memCtx
|
||||
- (struct WStringArray_r *) asMVUnicodeInMemCtx: (void *) memCtx
|
||||
{
|
||||
struct WStringArray_r *list;
|
||||
NSInteger count, max;
|
||||
|
||||
@@ -113,7 +113,7 @@ static int MAPIStoreTallocWrapperDestroy (void *data)
|
||||
break;
|
||||
|
||||
case PT_MV_UNICODE:
|
||||
*data = [(NSArray *) self asArrayOfUnicodeStringsInMemCtx: memCtx];
|
||||
*data = [(NSArray *) self asMVUnicodeInMemCtx: memCtx];
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user