aboutsummaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-22 13:11:32 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-22 13:13:21 +0000
commit3c1c6e24f22a1e5bf23f9de813f2f4099214b6bb (patch)
treeea948a273dc161e8bf3a129202e75cae93bb8928 /vapi
parent5d234578ccf593474ae8500bd23b166c84f28313 (diff)
downloadayatana-indicator-sound-3c1c6e24f22a1e5bf23f9de813f2f4099214b6bb.tar.gz
ayatana-indicator-sound-3c1c6e24f22a1e5bf23f9de813f2f4099214b6bb.tar.bz2
ayatana-indicator-sound-3c1c6e24f22a1e5bf23f9de813f2f4099214b6bb.zip
Port from Unity8 to Lomiri (URL Dispatcher and API).
Diffstat (limited to 'vapi')
-rw-r--r--vapi/lomiri-url-dispatcher.vapi9
-rw-r--r--vapi/url-dispatcher.vapi9
2 files changed, 9 insertions, 9 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);
+}
diff --git a/vapi/url-dispatcher.vapi b/vapi/url-dispatcher.vapi
deleted file mode 100644
index 88f7740..0000000
--- a/vapi/url-dispatcher.vapi
+++ /dev/null
@@ -1,9 +0,0 @@
-[CCode (cprefix="", lower_case_cprefix="", cheader_filename="liburl-dispatcher-1/url-dispatcher.h")]
-
-namespace UrlDispatch
-{
- public delegate void DispatchCallback ();
-
- [CCode (cname = "url_dispatch_send")]
- public static void send (string url, DispatchCallback? func = null);
-}