diff options
author | Jens Georg <mail@jensge.org> | 2022-01-04 20:42:03 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-01-04 20:42:03 +0100 |
commit | b1d1687043c2c44124e1783cf44ff671408511ac (patch) | |
tree | 6914c4716dadf7427dd3dab5062aac10717de605 | |
parent | 590d0c7d4433972c97b3d1149f29021ad3250d96 (diff) | |
download | gupnp-wip/drop-deprecated-api.tar.gz |
vapi: Drop deprecated functionswip/drop-deprecated-api
-rw-r--r-- | vala/GUPnP-1.6.metadata | 4 | ||||
-rw-r--r-- | vala/gupnp-custom.vala | 15 |
2 files changed, 3 insertions, 16 deletions
diff --git a/vala/GUPnP-1.6.metadata b/vala/GUPnP-1.6.metadata index be67723..0e6a6ea 100644 --- a/vala/GUPnP-1.6.metadata +++ b/vala/GUPnP-1.6.metadata @@ -19,9 +19,5 @@ ServiceIntrospection .scpd skip ServiceProxy .add_notify skip=false - .begin_action skip=false - .end_action_hash skip - .end_action_list skip - .send_action_list skip XMLDoc .new skip diff --git a/vala/gupnp-custom.vala b/vala/gupnp-custom.vala index 3ad9fd0..cce33af 100644 --- a/vala/gupnp-custom.vala +++ b/vala/gupnp-custom.vala @@ -8,15 +8,6 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -public class GUPnP.ServiceProxy : GUPnP.ServiceInfo { - public bool send_action (string action, ...) throws GLib.Error; - public bool end_action (GUPnP.ServiceProxyAction action, ...) throws GLib.Error; - public bool end_action_hash (GUPnP.ServiceProxyAction action, GLib.HashTable<string, weak GLib.Value*> hash) throws GLib.Error; - public bool end_action_list (GUPnP.ServiceProxyAction action, GLib.List<string> out_names, GLib.List<GLib.Type?> out_types, out GLib.List<weak GLib.Value*> out_values) throws GLib.Error; - - 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)] @@ -25,11 +16,11 @@ public class GUPnP.ServiceProxyAction { } 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; + 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; } public class GUPnP.XMLDoc : GLib.Object { - [CCode (has_construct_function = false)] + [CCode (has_construct_function = false)] public XMLDoc (Xml.Doc xml_doc); } |