[gupnp] vala: Bind varargs functions of ServiceProxyAction



commit f5539eedcfde3e7178afa1322a16ddbe46a9c90c
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 5 09:35:26 2021 +0200

    vala: Bind varargs functions of ServiceProxyAction

 vala/gupnp-1.2-custom.vala | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/vala/gupnp-1.2-custom.vala b/vala/gupnp-1.2-custom.vala
index 425d878..42c53ca 100644
--- a/vala/gupnp-1.2-custom.vala
+++ b/vala/gupnp-1.2-custom.vala
@@ -29,8 +29,16 @@ public class GUPnP.ServiceProxy : GUPnP.ServiceInfo {
     public bool send_action_list (string action, GLib.List<string> in_names, GLib.List<weak GLib.Value?> 
in_values, GLib.List<string> out_names, GLib.List<GLib.Type?> out_types, out GLib.List<weak GLib.Value*> 
out_values) throws GLib.Error;
 }
 
+[Compact]
+public class GUPnP.ServiceProxyAction {
+    [CCode (has_construct_function = false)]
+    public ServiceProxyAction (string action, ...) throws GLib.Error;
+    public bool get_result (...) 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;
 }
 
+


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