X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=plugins%2FDefaultPage.cs;h=38ed6721b8ab414c76061699d470bd254c2236a2;hb=80865e6b884a4bb289cb4a835a6fa66b3529c872;hp=3de24108750161d11c0b2c1aab9ded4626f8551e;hpb=1bff29702cf8ce8c1952d22243e4dc7a9df74105;p=WebThing.git diff --git a/plugins/DefaultPage.cs b/plugins/DefaultPage.cs index 3de2410..38ed672 100644 --- a/plugins/DefaultPage.cs +++ b/plugins/DefaultPage.cs @@ -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 {