aboutsummaryrefslogtreecommitdiff
path: root/vapi/lomiri-url-dispatcher.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/lomiri-url-dispatcher.vapi')
-rw-r--r--vapi/lomiri-url-dispatcher.vapi9
1 files changed, 9 insertions, 0 deletions
diff --git a/vapi/lomiri-url-dispatcher.vapi b/vapi/lomiri-url-dispatcher.vapi
new file mode 100644
index 0000000..1285b12
--- /dev/null
+++ b/vapi/lomiri-url-dispatcher.vapi
@@ -0,0 +1,9 @@
+[CCode (cprefix="", lower_case_cprefix="", cheader_filename="liblomiri-url-dispatcher/lomiri-url-dispatcher.h")]
+
+namespace LomiriURLDispatch
+{
+ public delegate void LomiriURLDispatchCallback ();
+
+ [CCode (cname = "lomiri_url_dispatch_send")]
+ public static void send (string url, LomiriURLDispatchCallback? func = null);
+}