projects
/
WebThing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Formalized plugin interface
[WebThing.git]
/
plugins
/
DefaultPage.cs
diff --git
a/plugins/DefaultPage.cs
b/plugins/DefaultPage.cs
index
3de2410
..
38ed672
100644
(file)
--- 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 : WebThing
Plugin {
+ public
void Init
(WebThing wt) {
if (wt.Arguments.Length > 0) {
wt.OpenUri(wt.Arguments[0]);
} else {