blob: 76700826c19220ed922a24523a0b351347c8b6da (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/*
* 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, long objectAddr);
void MAPINotification_jniCallDeletedMethod(LPSTR iUnknown);
void MAPINotification_jniCallInsertedMethod(LPSTR iUnknown);
void MAPINotification_jniCallUpdatedMethod(LPSTR iUnknown);
void MAPINotification_jniCallCalendarDeletedMethod(LPSTR iUnknown);
void MAPINotification_jniCallCalendarInsertedMethod(LPSTR iUnknown);
void MAPINotification_jniCallCalendarUpdatedMethod(LPSTR iUnknown);
LONG
STDAPICALLTYPE MAPINotification_onNotify
(LPVOID lpvContext, ULONG cNotifications, LPNOTIFICATION lpNotifications,
ULONG type);
void
MAPINotification_registerJniNotificationsDelegate
(JNIEnv *jniEnv, jobject notificationsDelegate);
void
MAPINotification_registerCalendarJniNotificationsDelegate
(JNIEnv *jniEnv, jobject notificationsDelegate);
void
MAPINotification_registerNativeNotificationsDelegate
(void * deletedMethod, void * insertedMethod, void *updatedMethod);
void
MAPINotification_registerCalendarNativeNotificationsDelegate
(void * deletedMethod, void * insertedMethod, void *updatedMethod);
void MAPINotification_registerNotifyAllMsgStores(LPMAPISESSION mapiSession);
void MAPINotification_unregisterJniNotificationsDelegate(JNIEnv *jniEnv);
void MAPINotification_unregisterNativeNotificationsDelegate();
void MAPINotification_unregisterNotifyAllMsgStores(void);
void MAPINotification_unregisterJniCalendarNotificationsDelegate(JNIEnv *jniEnv);
void MAPINotification_unregisterNativeCalendarNotificationsDelegate();
#ifdef __cplusplus
}
#endif
#endif /* #ifndef _NET_JAVA_SIP_COMMUNICATOR_PLUGIN_ADDRBOOK_MSOUTLOOK_MAPINOTIFICATION_H_ */
|