mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-02 21:56:23 +00:00
Monotone-Parent: 64ba2e93f125a52eecebddb59943e772948d3477
Monotone-Revision: 8ec67206fe2e60d10c9dd420d14aeb136a46afc8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-06-06T23:59:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -61,13 +61,15 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
||||
return newObject;
|
||||
}
|
||||
|
||||
+ (int) getAvailableProperties: (struct SPropTagArray *) properties
|
||||
+ (int) getAvailableProperties: (struct SPropTagArray **) propertiesP
|
||||
{
|
||||
struct SPropTagArray *properties;
|
||||
const MAPIStorePropertyGetter *classGetters;
|
||||
NSUInteger count;
|
||||
enum MAPITAGS propTag;
|
||||
uint16_t propValue;
|
||||
|
||||
properties = talloc_zero(NULL, struct SPropTagArray);
|
||||
properties->aulPropTag = talloc_array (properties, enum MAPITAGS,
|
||||
MAPIStoreSupportedPropertiesCount);
|
||||
classGetters = MAPIStorePropertyGettersForClass (self);
|
||||
@@ -82,7 +84,9 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
*propertiesP = properties;
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (id) init
|
||||
@@ -293,9 +297,9 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
||||
return [self getNo: data];
|
||||
}
|
||||
|
||||
- (int) getAvailableProperties: (struct SPropTagArray *) properties
|
||||
- (int) getAvailableProperties: (struct SPropTagArray **) propertiesP
|
||||
{
|
||||
return [isa getAvailableProperties: properties];
|
||||
return [isa getAvailableProperties: propertiesP];
|
||||
}
|
||||
|
||||
- (int) getProperties: (struct mapistore_property_data *) data
|
||||
|
||||
Reference in New Issue
Block a user