2 using System.Collections.Generic;
5 namespace bytex64.WebThing {
6 public abstract class WebThingPlugin {
7 protected Dictionary<string,string> Options;
9 public WebThingPlugin() {
10 string classname = this.GetType().FullName;
12 if (Config.PluginOptions.ContainsKey(classname))
13 Options = Config.PluginOptions[classname];
15 Options = new Dictionary<string,string>();
18 public virtual void Init(WebThing wt) {}
19 public virtual void InitWebView(WebView wv) {}