blob: f2a81fc494d6234c72f7da9867a86d7dd8e7fc53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
#ifndef _NET_JAVA_SIP_COMMUNICATOR_PLUGIN_ADDRBOOK_MSOUTLOOK_MAPINOTIFICATION_H_
#define _NET_JAVA_SIP_COMMUNICATOR_PLUGIN_ADDRBOOK_MSOUTLOOK_MAPINOTIFICATION_H_
#ifdef __cplusplus
extern "C" {
#endif
#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_registerJniNotificationsDelegate
(JNIEnv *jniEnv, jobject notificationsDelegate);
void
MAPINotification_registerNativeNotificationsDelegate
(void * deletedMethod, void * insertedMethod, void *updatedMethod);
void MAPINotification_registerNotifyAllMsgStores(LPMAPISESSION mapiSession);
void MAPINotification_unregisterJniNotificationsDelegate(JNIEnv *jniEnv);
void MAPINotification_unregisterNativeNotificationsDelegate();
void MAPINotification_unregisterNotifyAllMsgStores(void);
#ifdef __cplusplus
}
#endif
#endif /* #ifndef _NET_JAVA_SIP_COMMUNICATOR_PLUGIN_ADDRBOOK_MSOUTLOOK_MAPINOTIFICATION_H_ */
|