mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-16 20:33:19 +00:00
Monotone-Parent: e5be024d92916be1586d601d50ed79f354eda2c7
Monotone-Revision: 1e532558ba17916d33138e4c65d283faf4d0e929 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-02T20:43:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2012-03-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/NSArray+MAPIStore.[hm]: updated to new name of
|
||||
handled structs.
|
||||
|
||||
* OpenChange/gen-property-selectors.py: adapted for new getters
|
||||
name, based on new property names. Added all new clashing
|
||||
properties to bannedProps.
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
/* mapi structs */
|
||||
+ (id) arrayFromMAPIMVLong: (const struct mapi_MV_LONG_STRUCT *) mvLong;
|
||||
+ (id) arrayFromMAPIMVUnicode: (const struct mapi_SPLSTRArrayW *) mvUnicode;
|
||||
+ (id) arrayFromMAPIMVUnicode: (const struct mapi_SLPSTRArrayW *) mvUnicode;
|
||||
+ (id) arrayFromMAPIMVString: (const struct mapi_SLPSTRArray *) mvString;
|
||||
+ (id) arrayFromMAPIMVBinary: (const struct mapi_SBinaryArray *) mvBinary;
|
||||
+ (id) arrayFromMAPIMVGuid: (const struct mapi_SGuidArray *) mvGuid;
|
||||
@@ -39,8 +39,8 @@
|
||||
- (struct LongArray_r *) asMVLongInMemCtx: (void *) memCtx;
|
||||
+ (id) arrayFromMVI8: (const struct I8Array_r *) mvI8;
|
||||
+ (id) arrayFromMVString: (const struct StringArray_r *) mvString;
|
||||
+ (id) arrayFromMVUnicode: (const struct WStringArray_r *) mvUnicode;
|
||||
- (struct WStringArray_r *) asMVUnicodeInMemCtx: (void *) memCtx;
|
||||
+ (id) arrayFromMVUnicode: (const struct StringArrayW_r *) mvUnicode;
|
||||
- (struct StringArrayW_r *) asMVUnicodeInMemCtx: (void *) memCtx;
|
||||
+ (id) arrayFromMVBinary: (const struct BinaryArray_r *) mvBinary;
|
||||
- (struct BinaryArray_r *) asMVBinaryInMemCtx: (void *) memCtx;
|
||||
+ (id) arrayFromMVGuid: (const struct FlatUIDArray_r *) mvGuid;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
+ (id) arrayFromMAPIMVUnicode: (struct mapi_SPLSTRArrayW *) mvUnicode
|
||||
+ (id) arrayFromMAPIMVUnicode: (struct mapi_SLPSTRArrayW *) mvUnicode
|
||||
{
|
||||
NSUInteger count;
|
||||
NSString *subObject;
|
||||
@@ -185,7 +185,7 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
+ (id) arrayFromMVUnicode: (const struct WStringArray_r *) mvUnicode
|
||||
+ (id) arrayFromMVUnicode: (const struct StringArrayW_r *) mvUnicode
|
||||
{
|
||||
NSUInteger count;
|
||||
NSString *subObject;
|
||||
@@ -201,14 +201,14 @@
|
||||
return mvResult;
|
||||
}
|
||||
|
||||
- (struct WStringArray_r *) asMVUnicodeInMemCtx: (void *) memCtx
|
||||
- (struct StringArrayW_r *) asMVUnicodeInMemCtx: (void *) memCtx
|
||||
{
|
||||
struct WStringArray_r *list;
|
||||
struct StringArrayW_r *list;
|
||||
NSInteger count, max;
|
||||
|
||||
max = [self count];
|
||||
|
||||
list = talloc_zero (memCtx, struct WStringArray_r);
|
||||
list = talloc_zero (memCtx, struct StringArrayW_r);
|
||||
list->cValues = max;
|
||||
list->lppszW = talloc_array (list, const char *, max);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user