[gupnp/wip/drop-deprecated-api] vapi: Drop deprecated functions
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/drop-deprecated-api] vapi: Drop deprecated functions
- Date: Tue, 4 Jan 2022 19:42:20 +0000 (UTC)
commit b1d1687043c2c44124e1783cf44ff671408511ac
Author: Jens Georg <mail jensge org>
Date: Tue Jan 4 20:42:03 2022 +0100
vapi: Drop deprecated functions
vala/GUPnP-1.6.metadata | 4 ----
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]