summaryrefslogtreecommitdiffstats
path: root/khtml/java/netscape/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/java/netscape/javascript')
-rw-r--r--khtml/java/netscape/javascript/JSException.java20
-rw-r--r--khtml/java/netscape/javascript/JSObject.java21
2 files changed, 0 insertions, 41 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);
- }
-}
-