Formalized plugin interface
[WebThing.git] / plugins / DefaultPage.cs
index 3de2410..38ed672 100644 (file)
@@ -1,8 +1,8 @@
 using System;
 using bytex64.WebThing;
 
-public class Plugin {
-    public Plugin(WebThing wt) {
+public class DefaultPage : WebThingPlugin {
+    public void Init(WebThing wt) {
         if (wt.Arguments.Length > 0) {
             wt.OpenUri(wt.Arguments[0]);
         } else {