See ChangeLog

Monotone-Parent: 05dfd85bdc0651db027e7df47810671a4f906fad
Monotone-Revision: 0be42fb4ac553a3b8b6b1d18144d2c4aa9dfdd0e

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-09-12T10:16:20
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2012-09-12 10:16:20 +00:00
parent 16b81149ad
commit e87e1ab083
2 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-09-12 Ludovic Marcotte <lmarcotte@inverse.ca>
* OpenChange/MAPIStoreTasksMessage.m: added a way to get
the PidTagBody of a task. This could be generalized eventually
with the code in MAPIStoreAppointmentWrapper.
2012-09-07 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SchedulerUI.js (tasksListCallback): list

View File

@ -102,6 +102,24 @@
return MAPISTORE_SUCCESS;
}
- (int) getPidTagBody: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
int rc = MAPISTORE_SUCCESS;
NSString *stringValue;
iCalToDo *task;
/* FIXME: there is a confusion in NGCards around "comment" and "description" */
task = [sogoObject component: NO secure: YES];
stringValue = [task comment];
if ([stringValue length] > 0)
*data = [stringValue asUnicodeInMemCtx: memCtx];
else
*data = [@"" asUnicodeInMemCtx: memCtx];
return rc;
}
- (int) getPidTagImportance: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{