Fix scrolling functionality
[WebThing.git] / WebThingPlugin.cs
index 6f23e9d..a201b86 100644 (file)
@@ -33,4 +33,12 @@ namespace bytex64.WebThing {
         public virtual void InitWebView(WebView wv) {}
         public virtual void DeinitWebView(WebView wv) {}
     }
+
+    // An interface implemented by plugins that handle search queries
+    // (a search query is anything that doesn't look like a URI)
+    public interface ISearchPlugin {
+        // Convert a search query into a URI.  If this plugin cannot
+        // handle the search, it should return null.
+        string SearchTransform(string search);
+    }
 }