volumelistener moved to listener package
authorFilippo Carone <littlejohn@videolan.org>
Sun, 20 May 2007 16:59:22 +0000 (16:59 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 20 May 2007 16:59:22 +0000 (16:59 +0000)
Makefile.am
VLCExample.java
org/videolan/jvlc/Audio.java
org/videolan/jvlc/VolumeListener.java [deleted file]
org/videolan/jvlc/listener/VolumeListener.java [new file with mode: 0644]

index 9d9c797..d3afc03 100644 (file)
@@ -29,11 +29,12 @@ EXTRA_DIST+= \
        org/videolan/jvlc/Video.java \
        org/videolan/jvlc/VLCException.java \
        org/videolan/jvlc/VLMIntf.java \
-       org/videolan/jvlc/VLM.java 
+       org/videolan/jvlc/VLM.java \
+       org/videolan/jvlc/listener/VolumeListener.java 
 
 if BUILD_JAVA
 
-OBJECTS = org/videolan/jvlc/VLM.class org/videolan/jvlc/VLCException.class org/videolan/jvlc/Playlist.class org/videolan/jvlc/AudioIntf.class org/videolan/jvlc/Audio.class org/videolan/jvlc/InputIntf.class org/videolan/jvlc/Input.class org/videolan/jvlc/PlaylistIntf.class org/videolan/jvlc/VideoIntf.class org/videolan/jvlc/JVLCCanvas.class org/videolan/jvlc/Video.class org/videolan/jvlc/JLibVLC.class org/videolan/jvlc/JVLC.class  org/videolan/jvlc/JVLCPanel.class org/videolan/jvlc/VLMIntf.class org/videolan/jvlc/GenericVideoWidget.class
+OBJECTS = org/videolan/jvlc/VLM.class org/videolan/jvlc/VLCException.class org/videolan/jvlc/Playlist.class org/videolan/jvlc/AudioIntf.class org/videolan/jvlc/Audio.class org/videolan/jvlc/InputIntf.class org/videolan/jvlc/Input.class org/videolan/jvlc/PlaylistIntf.class org/videolan/jvlc/VideoIntf.class org/videolan/jvlc/JVLCCanvas.class org/videolan/jvlc/Video.class org/videolan/jvlc/JLibVLC.class org/videolan/jvlc/JVLC.class  org/videolan/jvlc/JVLCPanel.class org/videolan/jvlc/VLMIntf.class org/videolan/jvlc/GenericVideoWidget.class org/videolan/jvlc/listener/VolumeListener.class
 
 PROCESSOR_FAMILY = `uname -m | sed -e 's/^i.86/i386/' | sed -e 's/^x86_64/amd64/'`
 
index da85cec..72e02a8 100644 (file)
@@ -1,7 +1,7 @@
 import org.videolan.jvlc.AudioIntf;
 import org.videolan.jvlc.JVLC;
 import org.videolan.jvlc.VLCException;
-import org.videolan.jvlc.VolumeListener;
+import org.videolan.jvlc.listener.VolumeListener;
 
 
 public class VLCExample
@@ -87,7 +87,7 @@ public class VLCExample
             jvlc.audio.addVolumeListener(new VolumeListener()
             {
                                public void volumeChanged() {
-                                       System.out.println("====> From the listener: volume changed");
+                                       System.out.println("====> From the listener: volume changed.");
                                }
             });
 
index 3e83f7d..f94e218 100644 (file)
@@ -6,6 +6,8 @@ import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
 
+import org.videolan.jvlc.listener.VolumeListener;
+
 public class Audio implements AudioIntf {
 
        private long libvlcInstance;
diff --git a/org/videolan/jvlc/VolumeListener.java b/org/videolan/jvlc/VolumeListener.java
deleted file mode 100644 (file)
index 7bcb65f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.videolan.jvlc;
-
-public interface VolumeListener {
-
-       void volumeChanged();
-       
-}
diff --git a/org/videolan/jvlc/listener/VolumeListener.java b/org/videolan/jvlc/listener/VolumeListener.java
new file mode 100644 (file)
index 0000000..0389d3e
--- /dev/null
@@ -0,0 +1,8 @@
+package org.videolan.jvlc.listener;
+
+
+public interface VolumeListener {
+
+       void volumeChanged();
+       
+}