From 760dc3b93f9fd5709501f1026dba2533ec877680 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 25 Sep 2013 15:06:30 -0500 Subject: use url-dispatcher instead of invoking system-settings directly. --- vapi/url-dispatcher.vapi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vapi/url-dispatcher.vapi (limited to 'vapi') 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); +} -- cgit v1.2.3