summaryrefslogtreecommitdiffstats
path: root/khtml/java/netscape/plugin/Plugin.java
blob: c7be0e542beaa34e3aa8e42f1ce8ec3b972df32d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
    }
}