[Android] LibVLC: rename IAWindowNativeHandler

Thomas Guillem git at videolan.org
Sat Feb 27 18:23:12 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Feb 27 18:21:58 2016 +0100| [cf3cbf2af771d341e82e290a84b065c0911c8308] | committer: Thomas Guillem

LibVLC: rename IAWindowNativeHandler

> https://code.videolan.org/videolan/vlc-android/commit/cf3cbf2af771d341e82e290a84b065c0911c8308
---

 libvlc/src/org/videolan/libvlc/AWindow.java                           | 4 ++--
 .../libvlc/{IAWindowNativeHandler.java => AWindowNativeHandler.java}  | 4 ++--
 libvlc/src/org/videolan/libvlc/MediaPlayer.java                       | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/AWindow.java b/libvlc/src/org/videolan/libvlc/AWindow.java
index 1b7a4c1..26be97c 100644
--- a/libvlc/src/org/videolan/libvlc/AWindow.java
+++ b/libvlc/src/org/videolan/libvlc/AWindow.java
@@ -433,11 +433,11 @@ public class AWindow implements IVLCVout {
         mIVLCVoutCallbacks.remove(callback);
     }
 
-    public IAWindowNativeHandler getNativeHandler() {
+    public AWindowNativeHandler getNativeHandler() {
         return mAWindowNativeHandler;
     }
 
-    private final IAWindowNativeHandler mAWindowNativeHandler = new IAWindowNativeHandler() {
+    private final AWindowNativeHandler mAWindowNativeHandler = new AWindowNativeHandler() {
         @Override
         public Surface getVideoSurface() {
             return getNativeSurface(ID_VIDEO);
diff --git a/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java b/libvlc/src/org/videolan/libvlc/AWindowNativeHandler.java
similarity index 97%
rename from libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java
rename to libvlc/src/org/videolan/libvlc/AWindowNativeHandler.java
index bd26672..02c46f6 100644
--- a/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java
+++ b/libvlc/src/org/videolan/libvlc/AWindowNativeHandler.java
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * public class IAWindowNativeHandler.java
+ * public class AWindowNativeHandler.java
  *****************************************************************************
  * Copyright © 2015 VLC authors, VideoLAN and VideoLabs
  *
@@ -23,7 +23,7 @@ package org.videolan.libvlc;
 import android.view.Surface;
 
 @SuppressWarnings("unused, JniMissingFunction")
-public abstract class IAWindowNativeHandler {
+public abstract class AWindowNativeHandler {
     /**
      * Callback called from {@link IVLCVout#sendMouseEvent}.
      *
diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 42c2b07..7abf45a 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -845,8 +845,8 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
     }
 
     /* JNI */
-    private native void nativeNewFromLibVlc(LibVLC libVLC, IAWindowNativeHandler window);
-    private native void nativeNewFromMedia(Media media, IAWindowNativeHandler window);
+    private native void nativeNewFromLibVlc(LibVLC libVLC, AWindowNativeHandler window);
+    private native void nativeNewFromMedia(Media media, AWindowNativeHandler window);
     private native void nativeRelease();
     private native void nativeSetMedia(Media media);
     private native void nativePlay();



More information about the Android mailing list