diff options
author | Jens Georg <mail@jensge.org> | 2014-08-16 22:12:20 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2014-08-16 22:13:41 +0200 |
commit | d6a43bf895e8a6a23ef2e5533f435102b92c506a (patch) | |
tree | 22f8aec10d9a56709ad12a369078d427de12eb15 | |
parent | 43a7e1c78a2d97d01652c125b50cbba45aaf8e63 (diff) | |
download | gupnp-d6a43bf895e8a6a23ef2e5533f435102b92c506a.tar.gz |
Fix VAPI generation
Signed-off-by: Jens Georg <mail@jensge.org>
-rw-r--r-- | vala/GUPnP-1.0.metadata | 4 | ||||
-rw-r--r-- | vala/gupnp-1.0-custom.vala | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/vala/GUPnP-1.0.metadata b/vala/GUPnP-1.0.metadata index ee4dc8c..21adadb 100644 --- a/vala/GUPnP-1.0.metadata +++ b/vala/GUPnP-1.0.metadata @@ -1,4 +1,8 @@ GUPnP cheader_filename="libgupnp/gupnp.h" +Acl + .is_allowed skip + .is_allowed_async skip + .is_allowed_finish skip ContextManager .main_context skip .new skip diff --git a/vala/gupnp-1.0-custom.vala b/vala/gupnp-1.0-custom.vala index 9f3c5b3..2e48e60 100644 --- a/vala/gupnp-1.0-custom.vala +++ b/vala/gupnp-1.0-custom.vala @@ -30,6 +30,11 @@ public class GUPnP.ServiceProxy : GUPnP.ServiceInfo { public bool send_action_list (string action, [CCode (pos=-0.9)] GLib.List<string> in_names, [CCode (pos=-0.8)] GLib.List<weak GLib.Value?> in_values, [CCode (pos=-0.7)] GLib.List<string> out_names, [CCode (pos=-0.6)] GLib.List<GLib.Type?> out_types, [CCode (pos=-0.5)] out GLib.List<weak GLib.Value*> out_values) throws GLib.Error; } +public interface GUPnP.Acl : GLib.Object { + public abstract bool is_allowed (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent); + public abstract async bool is_allowed_async (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent, GLib.Cancellable? cancellable) throws GLib.Error; +} + namespace GUPnP { [CCode (cheader_filename = "libgupnp/gupnp.h", cprefix = "GUPNP_CONTROL_ERROR_")] public errordomain ControlError { |