Monotone-Parent: 2193e23375baaebca1fbc25ff41ad6e10465c010
Monotone-Revision: 2506be68868e083a9761fa080be7b4b2897d0e1f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-02T17:16:52 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
4b1c26743f
commit
4f5f22fc51
|
@ -1,5 +1,9 @@
|
||||||
2011-12-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2011-12-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* OpenChange/MAPIStoreNotesMessage.m
|
||||||
|
(-getPrMessageClass:inMemCtx:): explicit method.
|
||||||
|
(-getPrSubject:inMemCtx:): explicit method.
|
||||||
|
|
||||||
* OpenChange/MAPIStoreMessage.m (-getPrAccess:inMemCtx:)
|
* OpenChange/MAPIStoreMessage.m (-getPrAccess:inMemCtx:)
|
||||||
(-getPrAccessLevel:inMemCtx:): reimplemented methods in a generic
|
(-getPrAccessLevel:inMemCtx:): reimplemented methods in a generic
|
||||||
way just like the MAPIStoreFolder versions.
|
way just like the MAPIStoreFolder versions.
|
||||||
|
|
|
@ -20,7 +20,11 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
|
|
||||||
#import "MAPIStoreTypes.h"
|
#import "MAPIStoreTypes.h"
|
||||||
|
#import "NSObject+MAPIStore.h"
|
||||||
|
#import "NSString+MAPIStore.h"
|
||||||
|
|
||||||
#import "MAPIStoreNotesMessage.h"
|
#import "MAPIStoreNotesMessage.h"
|
||||||
|
|
||||||
|
@ -42,12 +46,28 @@
|
||||||
return MAPISTORE_SUCCESS;
|
return MAPISTORE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (int) getPrMessageClass: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
|
||||||
|
{
|
||||||
|
*data = [@"IPM.StickyNote" asUnicodeInMemCtx: memCtx];
|
||||||
|
|
||||||
|
return MAPISTORE_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
- (int) getPrSubject: (void **) data
|
- (int) getPrSubject: (void **) data
|
||||||
inMemCtx: (TALLOC_CTX *) memCtx
|
inMemCtx: (TALLOC_CTX *) memCtx
|
||||||
{
|
{
|
||||||
return [self getProperty: data
|
id value;
|
||||||
withTag: PR_NORMALIZED_SUBJECT_UNICODE
|
int rc;
|
||||||
|
|
||||||
|
value = [[sogoObject properties]
|
||||||
|
objectForKey: MAPIPropertyKey (PR_NORMALIZED_SUBJECT_UNICODE)];
|
||||||
|
if (value)
|
||||||
|
rc = [value getValue: data forTag: PR_NORMALIZED_SUBJECT_UNICODE
|
||||||
inMemCtx: memCtx];
|
inMemCtx: memCtx];
|
||||||
|
else
|
||||||
|
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||||
|
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in a new issue