diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-12-22 13:11:32 +0000 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-01-12 14:19:54 +0100 |
commit | d0a386078f471633250a760cdcd1a21a63d0dd06 (patch) | |
tree | 24ac3f4a5bdf4ce6a67be4bf45da6bf5cb576cd6 /vapi | |
parent | 26073182645da0a7ba7214b331c725fab1506253 (diff) | |
download | ayatana-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')
-rw-r--r-- | vapi/lomiri-url-dispatcher.vapi | 9 | ||||
-rw-r--r-- | vapi/url-dispatcher.vapi | 9 |
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); -} |