diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:21 -0600 |
commit | dfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (patch) | |
tree | c297348a55df66c571de4525646e0b9762427353 /khtml/java/netscape | |
parent | b7658a0d5eca24a9d37c6e04f88298ef02389db0 (diff) | |
download | tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.tar.gz tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'khtml/java/netscape')
-rw-r--r-- | khtml/java/netscape/javascript/JSException.java | 20 | ||||
-rw-r--r-- | khtml/java/netscape/javascript/JSObject.java | 21 | ||||
-rw-r--r-- | khtml/java/netscape/plugin/Plugin.java | 28 | ||||
-rw-r--r-- | khtml/java/netscape/security/ForbiddenTargetException.java | 10 | ||||
-rw-r--r-- | khtml/java/netscape/security/Principal.java | 4 | ||||
-rw-r--r-- | khtml/java/netscape/security/PrivilegeManager.java | 109 | ||||
-rw-r--r-- | khtml/java/netscape/security/Target.java | 4 |
7 files changed, 0 insertions, 196 deletions
diff --git a/khtml/java/netscape/javascript/JSException.java b/khtml/java/netscape/javascript/JSException.java deleted file mode 100644 index 222033e7a..000000000 --- a/khtml/java/netscape/javascript/JSException.java +++ /dev/null @@ -1,20 +0,0 @@ -package netscape.javascript; - -public class JSException extends Exception { - public JSException() {} - public JSException(String s) { - super(s); - } - public JSException(String s, String fn, int ln, String src, int ti) { - super(s); - filename = new String(fn); - linenumber = ln; - source = src; - tokenindex = ti; - } - private String filename = null; - private int linenumber; - private String source = null; - private int tokenindex; -} - diff --git a/khtml/java/netscape/javascript/JSObject.java b/khtml/java/netscape/javascript/JSObject.java deleted file mode 100644 index f103d90c8..000000000 --- a/khtml/java/netscape/javascript/JSObject.java +++ /dev/null @@ -1,21 +0,0 @@ -package netscape.javascript; - -import java.applet.Applet; - -public abstract class JSObject extends Object { - protected JSObject() - { - } - public abstract Object call(String function, Object[] arguments) throws JSException; - public abstract Object eval(String script) throws JSException; - public abstract Object getMember(String name) throws JSException; - public abstract void setMember(String name, Object o) throws JSException; - public abstract void removeMember(String name) throws JSException; - public abstract Object getSlot(int index) throws JSException; - public abstract void setSlot(int index, Object o) throws JSException; - public static JSObject getWindow(Applet applet) throws JSException - { - return org.kde.javascript.JSObject.getWindow(applet, 0); - } -} - diff --git a/khtml/java/netscape/plugin/Plugin.java b/khtml/java/netscape/plugin/Plugin.java deleted file mode 100644 index c7be0e542..000000000 --- a/khtml/java/netscape/plugin/Plugin.java +++ /dev/null @@ -1,28 +0,0 @@ -package netscape.plugin; - -import netscape.javascript.*; - -public class Plugin { - - public Plugin() { - System.out.println("Plugin.Plugin"); - } - public JSObject getWindow() throws JSException { - System.out.println("Plugin.getWindow"); - return JSObject.getWindow(null); - } - public void destroy() { - System.out.println("Plugin.destroy"); - } - public int getPeer() { - System.out.println("Plugin.getPeer"); - return 0; - } - public void init() { - System.out.println("Plugin.init"); - } - public boolean isActive() { - System.out.println("Plugin.isActive"); - return true; - } -} diff --git a/khtml/java/netscape/security/ForbiddenTargetException.java b/khtml/java/netscape/security/ForbiddenTargetException.java deleted file mode 100644 index 27879d05b..000000000 --- a/khtml/java/netscape/security/ForbiddenTargetException.java +++ /dev/null @@ -1,10 +0,0 @@ -package netscape.security; -public class ForbiddenTargetException extends RuntimeException { - public ForbiddenTargetException() - { - } - public ForbiddenTargetException(String message) - { - super(message); - } -} diff --git a/khtml/java/netscape/security/Principal.java b/khtml/java/netscape/security/Principal.java deleted file mode 100644 index 1f93a8293..000000000 --- a/khtml/java/netscape/security/Principal.java +++ /dev/null @@ -1,4 +0,0 @@ -package netscape.security; - -public class Principal { -}
\ No newline at end of file diff --git a/khtml/java/netscape/security/PrivilegeManager.java b/khtml/java/netscape/security/PrivilegeManager.java deleted file mode 100644 index c6555eaa0..000000000 --- a/khtml/java/netscape/security/PrivilegeManager.java +++ /dev/null @@ -1,109 +0,0 @@ -package netscape.security; - -public class PrivilegeManager extends Object { - public static final int PROPER_SUBSET = 1; - public static final int EQUAL = 2; - public static final int NO_SUBSET = 3; - public static final int SIGNED_APPLET_DBNAME = 4; - public static final int TEMP_FILENAME = 5; - - private static PrivilegeManager thePrivilegeManager = null; - - protected PrivilegeManager() - { - } - public void checkPrivilegeEnabled(netscape.security.Target target) throws netscape.security.ForbiddenTargetException - { - } - public void checkPrivilegeEnabled(netscape.security.Target target, Object o) throws netscape.security.ForbiddenTargetException - { - } - public static void enablePrivilege(String privilegeString) throws netscape.security.ForbiddenTargetException - { - } - public void enablePrivilege(netscape.security.Target target) throws netscape.security.ForbiddenTargetException - { - } - public void enablePrivilege(netscape.security.Target target, netscape.security.Principal principal) throws netscape.security.ForbiddenTargetException - { - } - public void enablePrivilege(netscape.security.Target target, netscape.security.Principal principal, Object o) throws netscape.security.ForbiddenTargetException - { - } - public void revertPrivilege(netscape.security.Target target) - { - } - public static void revertPrivilege(String privilegeString) - { - } - public void disablePrivilege(netscape.security.Target target) - { - } - public void disablePrivilege(String privilegeString) - { - } - public static void checkPrivilegeGranted(String privilegeString) throws netscape.security.ForbiddenTargetException - { - } - public void checkPrivilegeGranted(netscape.security.Target target) throws netscape.security.ForbiddenTargetException - { - } - public void checkPrivilegeGranted(netscape.security.Target target, Object o) throws netscape.security.ForbiddenTargetException - { - } - public void checkPrivilegeGranted(netscape.security.Target target, netscape.security.Principal principal, Object o) throws netscape.security.ForbiddenTargetException - { - } - public boolean isCalledByPrincipal(netscape.security.Principal principal, int dontknow) - { - return false; - } - public boolean isCalledByPrincipal(netscape.security.Principal principal) - { - return false; - } - public static netscape.security.Principal getSystemPrincipal() - { - return null; - } - public static netscape.security.PrivilegeManager getPrivilegeManager() - { - if (thePrivilegeManager == null) { - thePrivilegeManager = new PrivilegeManager(); - } - return thePrivilegeManager; - } - public boolean hasPrincipal(Class cl, netscape.security.Principal principal) - { - return true; - } - public int comparePrincipalArray(netscape.security.Principal[] a, netscape.security.Principal[] b) - { - return 1; - } - public boolean checkMatchPrincipal(Class cl, int dontknow) - { - return true; - } - public boolean checkMatchPrincipal(netscape.security.Principal principal, int dontknow) - { - return true; - } - public boolean checkMatchPrincipal(Class cl) - { - return true; - } - public boolean checkMatchPrincipalAlways() - { - return true; - } - public netscape.security.Principal[] getClassPrincipalsFromStack(int n) - { - return null; - } - /* - public netscape.security.PrivilegeTable getPrivilegeTableFromStack(); - { - } - */ -} diff --git a/khtml/java/netscape/security/Target.java b/khtml/java/netscape/security/Target.java deleted file mode 100644 index 8b50040b5..000000000 --- a/khtml/java/netscape/security/Target.java +++ /dev/null @@ -1,4 +0,0 @@ -package netscape.security; - -public class Target { -}
\ No newline at end of file |