mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 23:51:23 +00:00
Monotone-Parent: 1e532558ba17916d33138e4c65d283faf4d0e929
Monotone-Revision: 3d21b0780b7affb529a020d89dcbf84325264c7d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-02T20:44:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
|
||||
@implementation MAPIStoreNotesMessage
|
||||
|
||||
- (int) getPrIconIndex: (void **) data // TODO
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
- (int) getPidTagIconIndex: (void **) data // TODO
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
/* see http://msdn.microsoft.com/en-us/library/cc815472.aspx */
|
||||
// *longValue = 0x00000300 for blue
|
||||
@@ -46,23 +46,23 @@
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) getPrMessageClass: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
|
||||
- (int) getPidTagMessageClass: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
*data = [@"IPM.StickyNote" asUnicodeInMemCtx: memCtx];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) getPrSubject: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
- (int) getPidTagSubject: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
id value;
|
||||
int rc;
|
||||
|
||||
value = [[sogoObject properties]
|
||||
objectForKey: MAPIPropertyKey (PR_NORMALIZED_SUBJECT_UNICODE)];
|
||||
objectForKey: MAPIPropertyKey (PidTagNormalizedSubject)];
|
||||
if (value)
|
||||
rc = [value getValue: data forTag: PR_NORMALIZED_SUBJECT_UNICODE
|
||||
rc = [value getValue: data forTag: PidTagNormalizedSubject
|
||||
inMemCtx: memCtx];
|
||||
else
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
|
||||
Reference in New Issue
Block a user