See ChangeLog

Monotone-Parent: 46649664a69096329e067562e94ad7e4e07e1db4
Monotone-Revision: cd75a2b1cab18760280675763a7f116e18c1be54

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-09-23T01:00:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-09-23 01:00:28 +00:00
parent 619154b3d0
commit baea61ae64
2 changed files with 68 additions and 0 deletions

View File

@@ -111,6 +111,7 @@
// return MAPISTORE_SUCCESS;
// }
- (int) getPrTitle: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
@@ -664,6 +665,67 @@
return rc;
}
//
// Decomposed fullname getters
//
- (int) getPrSurname: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *stringValue;
stringValue = [[[sogoObject vCard] firstChildWithTag: @"n"] value: 0];
*data = [stringValue asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (int) getPrGivenName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *stringValue;
stringValue = [[[sogoObject vCard] firstChildWithTag: @"n"] value: 1];
*data = [stringValue asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (int) getPrMiddleName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *stringValue;
stringValue = [[[sogoObject vCard] firstChildWithTag: @"n"] value: 2];
*data = [stringValue asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (int) getPrDisplayNamePrefix: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *stringValue;
stringValue = [[[sogoObject vCard] firstChildWithTag: @"n"] value: 3];
*data = [stringValue asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (int) getPrGeneration: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *stringValue;
stringValue = [[[sogoObject vCard] firstChildWithTag: @"n"] value: 4];
*data = [stringValue asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
//
//
//
- (void) save
{
NSArray *elements, *units;