diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-03-01 09:54:13 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-03-01 09:54:13 +0100 |
commit | 2e4f82333078a5b099ee7acafb83fcbee2b1d18e (patch) | |
tree | 5d9cdbdc498cf5c2bb33f81695922a539cd540b8 /vapi/libgeoclue-2.0.vapi | |
parent | 1633ef94e0390c6c6897fabc4e00026f9fee18f9 (diff) | |
download | vala-2e4f82333078a5b099ee7acafb83fcbee2b1d18e.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/libgeoclue-2.0.vapi')
-rw-r--r-- | vapi/libgeoclue-2.0.vapi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi index 48f7dc6ed..38e95f19e 100644 --- a/vapi/libgeoclue-2.0.vapi +++ b/vapi/libgeoclue-2.0.vapi @@ -60,14 +60,21 @@ namespace GClue { public async Simple (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable) throws GLib.Error; public unowned GClue.ClientProxy get_client (); public unowned GClue.Location get_location (); + public static async void new_with_thresholds (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable); [CCode (has_construct_function = false)] public Simple.sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable = null) throws GLib.Error; + [CCode (has_construct_function = false)] + public Simple.with_thresholds_sync (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable = null) throws GLib.Error; [NoAccessorMethod] public GClue.AccuracyLevel accuracy_level { construct; } public GClue.ClientProxy client { get; } [NoAccessorMethod] public string desktop_id { construct; } + [NoAccessorMethod] + public uint distance_threshold { get; construct; } public GClue.LocationProxy location { get; } + [NoAccessorMethod] + public uint time_threshold { get; construct; } } [CCode (cheader_filename = "geoclue.h", type_id = "gclue_client_get_type ()")] public interface Client : GLib.Object { |