diff options
Diffstat (limited to 'khtml/java/netscape/plugin')
-rw-r--r-- | khtml/java/netscape/plugin/Plugin.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/khtml/java/netscape/plugin/Plugin.java b/khtml/java/netscape/plugin/Plugin.java new file mode 100644 index 000000000..c7be0e542 --- /dev/null +++ b/khtml/java/netscape/plugin/Plugin.java @@ -0,0 +1,28 @@ +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; + } +} |