[libbluray-devel] Renamed BasicXletContext to BDJXletContext

hpi1 git at videolan.org
Mon Sep 17 13:37:07 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Sep 17 14:35:18 2012 +0300| [2a5bf6f3b7454774bd1f08763c084f84be905abd] | committer: hpi1

Renamed BasicXletContext to BDJXletContext

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2a5bf6f3b7454774bd1f08763c084f84be905abd
---

 src/libbluray/bdj/java/org/dvb/io/ixc/IxcRegistry.java           |    4 ++--
 src/libbluray/bdj/java/org/videolan/BDJAppProxy.java             |    6 +++---
 src/libbluray/bdj/java/org/videolan/BDJLoader.java               |    2 +-
 .../org/videolan/{BasicXletContext.java => BDJXletContext.java}  |    6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/libbluray/bdj/java/org/dvb/io/ixc/IxcRegistry.java b/src/libbluray/bdj/java/org/dvb/io/ixc/IxcRegistry.java
index 106bb43..1d820e7 100644
--- a/src/libbluray/bdj/java/org/dvb/io/ixc/IxcRegistry.java
+++ b/src/libbluray/bdj/java/org/dvb/io/ixc/IxcRegistry.java
@@ -30,7 +30,7 @@ import java.util.logging.Logger;
 
 import javax.tv.xlet.XletContext;
 
-import org.videolan.BasicXletContext;
+import org.videolan.BDJXletContext;
 import org.videolan.XletState;
 
 public class IxcRegistry {
@@ -60,7 +60,7 @@ public class IxcRegistry {
             throw new NullPointerException();
 
         // make sure the xlet is not currently in the destroyed state
-        if (((BasicXletContext)xc).getState().equals(XletState.DESTROYED))
+        if (((BDJXletContext)xc).getState().equals(XletState.DESTROYED))
             return;
 
         int orgId = (Integer)xc.getXletProperty("dvb.org.id");
diff --git a/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java b/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
index 237bb46..71ae9c9 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJAppProxy.java
@@ -28,7 +28,7 @@ import java.util.LinkedList;
 import javax.tv.xlet.Xlet;
 
 public class BDJAppProxy implements DVBJProxy, Runnable {
-    public BDJAppProxy(BasicXletContext context) {
+    public BDJAppProxy(BDJXletContext context) {
         this.context = context;
         state = NOT_LOADED;
         threadGroup = new BDJThreadGroup((String)context.getXletProperty("dvb.org.id") + "." +
@@ -163,7 +163,7 @@ public class BDJAppProxy implements DVBJProxy, Runnable {
             ((AppStateChangeEventListener)listeners.get(i)).stateChange(event);
     }
 
-    protected BasicXletContext getXletContext() {
+    protected BDJXletContext getXletContext() {
         return context;
     }
 
@@ -339,7 +339,7 @@ public class BDJAppProxy implements DVBJProxy, Runnable {
         }
     }
 
-    private BasicXletContext context;
+    private BDJXletContext context;
     private Xlet xlet;
     private int state;
     private LinkedList listeners = new LinkedList();
diff --git a/src/libbluray/bdj/java/org/videolan/BDJLoader.java b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
index 068b1e1..e055c43 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJLoader.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
@@ -72,7 +72,7 @@ public class BDJLoader {
                 xlet[i] = (Xlet)xlet_class.newInstance();
                 
                 // make context for xlet
-                BasicXletContext context = new BasicXletContext(entry);
+                BDJXletContext context = new BDJXletContext(entry);
                 
                 Thread thread = new Thread(new BDJThreadGroup("", context), 
                         new XletStarter(xlet[i], entry.getControlCode() == AppEntry.AUTOSTART));
diff --git a/src/libbluray/bdj/java/org/videolan/BasicXletContext.java b/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
similarity index 90%
rename from src/libbluray/bdj/java/org/videolan/BasicXletContext.java
rename to src/libbluray/bdj/java/org/videolan/BDJXletContext.java
index ebd9000..7ce8459 100644
--- a/src/libbluray/bdj/java/org/videolan/BasicXletContext.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
@@ -24,9 +24,9 @@ import javax.tv.xlet.XletContext;
 
 import org.videolan.bdjo.AppEntry;
 
-public class BasicXletContext implements XletContext {
+public class BDJXletContext implements XletContext {
 
-    protected BasicXletContext(AppEntry info) {
+    protected BDJXletContext(AppEntry info) {
         this.info = info;
     }
 
@@ -64,5 +64,5 @@ public class BasicXletContext implements XletContext {
 
     private AppEntry info;
     private XletState state = XletState.ACTIVE;
-    private static Logger logger = Logger.getLogger(BasicXletContext.class.getName());
+    private static Logger logger = Logger.getLogger(BDJXletContext.class.getName());
 }



More information about the libbluray-devel mailing list