Commit 578c58e5 authored by Jens Georg's avatar Jens Georg

Lower gobject-introspection requirement

parent 7e902ea2
......@@ -127,7 +127,7 @@ if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -g -Wall -Werror"
fi
GOBJECT_INTROSPECTION_CHECK([1.33.4])
GOBJECT_INTROSPECTION_CHECK([0.6.4])
# vapigen
AS_IF([test "x$found_introspection" = "xyes"],
......
......@@ -26,3 +26,11 @@ ServiceProxy
.end_action_list skip
.send_action_hash skip
.send_action_list skip
ControlError skip
control_error_quark skip
EventingError skip
eventing_error_quark skip
ServerError skip
server_error_quark skip
XMLError skip
xml_error_quark skip
......@@ -29,3 +29,40 @@ public class GUPnP.ServiceProxy : GUPnP.ServiceInfo {
public bool send_action_hash (string action, [CCode (pos=-0.9)] GLib.HashTable<string, GLib.Value?> in_hash, [CCode (pos=-0.8)] GLib.HashTable<string, weak GLib.Value*> out_hash) throws GLib.Error;
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;
}
namespace GUPnP {
[CCode (cheader_filename = "libgupnp/gupnp.h", cprefix = "GUPNP_CONTROL_ERROR_")]
public errordomain ControlError {
INVALID_ACTION,
INVALID_ARGS,
OUT_OF_SYNC,
ACTION_FAILED;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libgupnp/gupnp.h", cprefix = "GUPNP_EVENTING_ERROR_")]
public errordomain EventingError {
SUBSCRIPTION_FAILED,
SUBSCRIPTION_LOST,
NOTIFY_FAILED;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libgupnp/gupnp.h", cprefix = "GUPNP_SERVER_ERROR_")]
public errordomain ServerError {
INTERNAL_SERVER_ERROR,
NOT_FOUND,
NOT_IMPLEMENTED,
INVALID_RESPONSE,
INVALID_URL,
OTHER;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "libgupnp/gupnp.h", cprefix = "GUPNP_XML_ERROR_")]
public errordomain XMLError {
PARSE,
NO_NODE,
EMPTY_NODE,
INVALID_ATTRIBUTE,
OTHER;
public static GLib.Quark quark ();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment