aboutsummaryrefslogtreecommitdiff
path: root/vapi/lomiri-url-dispatcher.vapi
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-22 13:11:32 +0000
committerRobert Tari <robert@tari.in>2021-01-12 14:19:54 +0100
commitd0a386078f471633250a760cdcd1a21a63d0dd06 (patch)
tree24ac3f4a5bdf4ce6a67be4bf45da6bf5cb576cd6 /vapi/lomiri-url-dispatcher.vapi
parent26073182645da0a7ba7214b331c725fab1506253 (diff)
downloadayatana-indicator-sound-d0a386078f471633250a760cdcd1a21a63d0dd06.tar.gz
ayatana-indicator-sound-d0a386078f471633250a760cdcd1a21a63d0dd06.tar.bz2
ayatana-indicator-sound-d0a386078f471633250a760cdcd1a21a63d0dd06.zip
Port from Unity8 to Lomiri (URL Dispatcher and API).
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);
+}