Formalized plugin interface
[WebThing.git] / plugins / Vimish.cs
index 3b4089d..7acdad2 100644 (file)
@@ -3,11 +3,11 @@ using System.Text.RegularExpressions;
 using Gtk;
 using bytex64.WebThing;
 
-public class Plugin {
+public class Vimish : WebThingPlugin {
     WebThing wt;
     Gtk.Entry commandline;
 
-    public Plugin(WebThing wt) {
+    public void Init(WebThing wt) {
         this.wt = wt;
         wt.WebView.KeyPressEvent += WebView_KeyPress;