diff options
author | Vincent Lucas <lucas@Vincents-MacBook-Pro.local> | 2013-05-07 10:53:43 +0200 |
---|---|---|
committer | Vincent Lucas <lucas@Vincents-MacBook-Pro.local> | 2013-05-07 10:53:43 +0200 |
commit | bd11acf2b29a04dd59f287249748ac369c5caf7e (patch) | |
tree | c9dfd4126e825295d27d08aecf27368b5437f247 /src/native/addrbook/msoutlook/MAPINotification.h | |
parent | 30d591762bd8c52cb2154ff74035b5aef857780b (diff) | |
download | jitsi-bd11acf2b29a04dd59f287249748ac369c5caf7e.zip jitsi-bd11acf2b29a04dd59f287249748ac369c5caf7e.tar.gz jitsi-bd11acf2b29a04dd59f287249748ac369c5caf7e.tar.bz2 |
Creates a COM service to able Jitsi 32 bits to communicate with MAPI 64 bits (Outlook). And vice-versa.
Diffstat (limited to 'src/native/addrbook/msoutlook/MAPINotification.h')
-rw-r--r-- | src/native/addrbook/msoutlook/MAPINotification.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/src/native/addrbook/msoutlook/MAPINotification.h b/src/native/addrbook/msoutlook/MAPINotification.h index c1cdeb0..f2a81fc 100644 --- a/src/native/addrbook/msoutlook/MAPINotification.h +++ b/src/native/addrbook/msoutlook/MAPINotification.h @@ -12,22 +12,39 @@ extern "C" { #endif -#include "MsOutlookMAPI.h" - #include <jni.h> #include <mapidefs.h> +#include <mapix.h> + +/** + * Manages notification for the message data base (used to get the list of + * contact). + * + * @author Vincent Lucas + */ + +boolean MAPINotification_callCallbackMethod(LPSTR iUnknown, void * object); + +void MAPINotification_jniCallDeletedMethod(LPSTR iUnknown); +void MAPINotification_jniCallInsertedMethod(LPSTR iUnknown); +void MAPINotification_jniCallUpdatedMethod(LPSTR iUnknown); LONG STDAPICALLTYPE MAPINotification_onNotify (LPVOID lpvContext, ULONG cNotifications, LPNOTIFICATION lpNotifications); void -MAPINotification_registerNotificationsDelegate - (JNIEnv *jniEnv, LPMAPISESSION, jobject); +MAPINotification_registerJniNotificationsDelegate + (JNIEnv *jniEnv, jobject notificationsDelegate); +void +MAPINotification_registerNativeNotificationsDelegate + (void * deletedMethod, void * insertedMethod, void *updatedMethod); +void MAPINotification_registerNotifyAllMsgStores(LPMAPISESSION mapiSession); -ULONG MAPINotification_registerNotifyMessageDataBase (LPMDB iUnknown); +void MAPINotification_unregisterJniNotificationsDelegate(JNIEnv *jniEnv); +void MAPINotification_unregisterNativeNotificationsDelegate(); +void MAPINotification_unregisterNotifyAllMsgStores(void); -void MAPINotification_unregisterNotificationsDelegate (JNIEnv *jniEnv); #ifdef __cplusplus } |