[gupnp] Fix VAPI generation



commit d6a43bf895e8a6a23ef2e5533f435102b92c506a
Author: Jens Georg <mail jensge org>
Date:   Sat Aug 16 22:12:20 2014 +0200

    Fix VAPI generation
    
    Signed-off-by: Jens Georg <mail jensge org>

 vala/GUPnP-1.0.metadata    |    4 ++++
 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]