bindings/java: callback/events usage has changed. For the time being, send an exception.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 5 Aug 2007 23:06:07 +0000 (23:06 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 5 Aug 2007 23:06:07 +0000 (23:06 +0000)
bindings/java/src/callback-jni.cc

index b0149e7..b759c71 100644 (file)
@@ -56,11 +56,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback( JNIEnv
        wakeupListenersMethod = env->GetStaticMethodID(audioClass, "wakeupListeners", "()V");
     }
 
-    libvlc_event_add_callback( ( libvlc_instance_t* ) instance,
-                              libvlc_VolumeChanged,
-                              volumeChangedCallback,
-                              NULL,
-                              &exception );
+    libvlc_exception_raise( &exception, "not implemented" );
     CHECK_EXCEPTION ;
 }