From bd11acf2b29a04dd59f287249748ac369c5caf7e Mon Sep 17 00:00:00 2001 From: Vincent Lucas Date: Tue, 7 May 2013 10:53:43 +0200 Subject: Creates a COM service to able Jitsi 32 bits to communicate with MAPI 64 bits (Outlook). And vice-versa. --- src/native/addrbook/AddrBookContactQuery.c | 35 ------------------------------ 1 file changed, 35 deletions(-) (limited to 'src/native/addrbook/AddrBookContactQuery.c') diff --git a/src/native/addrbook/AddrBookContactQuery.c b/src/native/addrbook/AddrBookContactQuery.c index 415ce67..1045214 100644 --- a/src/native/addrbook/AddrBookContactQuery.c +++ b/src/native/addrbook/AddrBookContactQuery.c @@ -44,41 +44,6 @@ AddrBookContactQuery_getPtrCallbackMethodID(JNIEnv *jniEnv, jobject callback) return callbackMethodID; } -jmethodID -AddrBookContactQuery_getStringCallbackMethodID( - JNIEnv *jniEnv, jobject callback) -{ - jclass callbackClass; - jmethodID callbackMethodID = 0; - - /* - * Make sure that the specified arguments are valid. For example, check - * whether callback exists and has the necessary signature. - */ - if (callback) - { - callbackClass = (*jniEnv)->GetObjectClass(jniEnv, callback); - if (callbackClass) - { - callbackMethodID - = (*jniEnv)->GetMethodID( - jniEnv, - callbackClass, "callback", "(Ljava/lang/String;)Z"); - if (!callbackMethodID) - { - Exception_throwNew( - jniEnv, "java/lang/IllegalArgumentException", "callback"); - } - } - } - else - { - Exception_throwNew( - jniEnv, "java/lang/NullPointerException", "callback"); - } - return callbackMethodID; -} - static void Exception_throwNew(JNIEnv *jniEnv, const char *className, const char *message) { -- cgit v1.1