diff options
Diffstat (limited to 'vapi/lomiri-url-dispatcher.vapi')
-rw-r--r-- | vapi/lomiri-url-dispatcher.vapi | 9 |
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); +} |