aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/addrbook/AddrBookContactQuery.c
diff options
context:
space:
mode:
authorVincent Lucas <lucas@Vincents-MacBook-Pro.local>2013-05-07 10:53:43 +0200
committerVincent Lucas <lucas@Vincents-MacBook-Pro.local>2013-05-07 10:53:43 +0200
commitbd11acf2b29a04dd59f287249748ac369c5caf7e (patch)
treec9dfd4126e825295d27d08aecf27368b5437f247 /src/native/addrbook/AddrBookContactQuery.c
parent30d591762bd8c52cb2154ff74035b5aef857780b (diff)
downloadjitsi-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/AddrBookContactQuery.c')
-rw-r--r--src/native/addrbook/AddrBookContactQuery.c35
1 files changed, 0 insertions, 35 deletions
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)
{