aboutsummaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-09-25 15:06:30 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-09-25 15:06:30 -0500
commit760dc3b93f9fd5709501f1026dba2533ec877680 (patch)
tree29b61c137ca916c59b119469cfd24525e618ac47 /vapi
parentacbd029f060ed529c9197990502ac035f8d8810d (diff)
downloadayatana-indicator-bluetooth-760dc3b93f9fd5709501f1026dba2533ec877680.tar.gz
ayatana-indicator-bluetooth-760dc3b93f9fd5709501f1026dba2533ec877680.tar.bz2
ayatana-indicator-bluetooth-760dc3b93f9fd5709501f1026dba2533ec877680.zip
use url-dispatcher instead of invoking system-settings directly.
Diffstat (limited to 'vapi')
-rw-r--r--vapi/url-dispatcher.vapi9
1 files changed, 9 insertions, 0 deletions
diff --git a/vapi/url-dispatcher.vapi b/vapi/url-dispatcher.vapi
new file mode 100644
index 0000000..ed751ec
--- /dev/null
+++ b/vapi/url-dispatcher.vapi
@@ -0,0 +1,9 @@
+[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);
+}