Merge branch gdbus (Migrating to gdbus with GLib 2.30.0)
authorFrederic PAUT <frederic.paut@linux.intel.com>
Thu, 23 Feb 2012 09:38:50 +0000 (10:38 +0100)
committerFrederic PAUT <frederic.paut@linux.intel.com>
Thu, 23 Feb 2012 09:38:50 +0000 (10:38 +0100)
lib/neard_adapter_proxy.c [deleted file]
lib/neard_adapter_proxy.h [deleted file]

diff --git a/lib/neard_adapter_proxy.c b/lib/neard_adapter_proxy.c
deleted file mode 100644 (file)
index 62a1962..0000000
+++ /dev/null
@@ -1,1927 +0,0 @@
-/*
- * Generated by gdbus-codegen 2.30.0. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
-
-#include "neard_adapter_proxy.h"
-
-#ifdef G_OS_UNIX
-#  include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
-  GDBusArgInfo parent_struct;
-  gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
-  GDBusMethodInfo parent_struct;
-  const gchar *signal_name;
-  gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
-  GDBusSignalInfo parent_struct;
-  const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
-  GDBusPropertyInfo parent_struct;
-  const gchar *hyphen_name;
-  gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
-  GDBusInterfaceInfo parent_struct;
-  const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
-  const _ExtendedGDBusPropertyInfo *info;
-  guint prop_id;
-  GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
-  g_value_unset (&data->orig_value);
-  g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
-  gboolean ret = FALSE;
-  guint n;
-  if (a == NULL && b == NULL)
-    {
-      ret = TRUE;
-      goto out;
-    }
-  if (a == NULL || b == NULL)
-    goto out;
-  if (g_strv_length (a) != g_strv_length (b))
-    goto out;
-  for (n = 0; a[n] != NULL; n++)
-    if (g_strcmp0 (a[n], b[n]) != 0)
-      goto out;
-  ret = TRUE;
-out:
-  return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
-  gboolean ret = FALSE;
-  if (a == NULL && b == NULL)
-    {
-      ret = TRUE;
-      goto out;
-    }
-  if (a == NULL || b == NULL)
-    goto out;
-  ret = g_variant_equal (a, b);
-out:
-  return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
-  gboolean ret = FALSE;
-  g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
-  switch (G_VALUE_TYPE (a))
-    {
-      case G_TYPE_BOOLEAN:
-        ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
-        break;
-      case G_TYPE_UCHAR:
-        ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
-        break;
-      case G_TYPE_INT:
-        ret = (g_value_get_int (a) == g_value_get_int (b));
-        break;
-      case G_TYPE_UINT:
-        ret = (g_value_get_uint (a) == g_value_get_uint (b));
-        break;
-      case G_TYPE_INT64:
-        ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
-        break;
-      case G_TYPE_UINT64:
-        ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
-        break;
-      case G_TYPE_DOUBLE:
-        ret = (g_value_get_double (a) == g_value_get_double (b));
-        break;
-      case G_TYPE_STRING:
-        ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
-        break;
-      case G_TYPE_VARIANT:
-        ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
-        break;
-      default:
-        if (G_VALUE_TYPE (a) == G_TYPE_STRV)
-          ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
-        else
-          g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
-        break;
-    }
-  return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.neard.Adapter
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:orgNeardAdp
- * @title: orgNeardAdp
- * @short_description: Generated C code for the org.neard.Adapter D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.neard.Adapter ---- */
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__method_info_get_properties_OUT_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "a{sv}",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__method_info_get_properties_OUT_ARG_pointers[] =
-{
-  &_org_neard_adp__method_info_get_properties_OUT_ARG_unnamed_arg0,
-  NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_neard_adp__method_info_get_properties =
-{
-  {
-    -1,
-    "GetProperties",
-    NULL,
-    (GDBusArgInfo **) &_org_neard_adp__method_info_get_properties_OUT_ARG_pointers,
-    NULL
-  },
-  "handle-get-properties",
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__method_info_set_property_IN_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "s",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__method_info_set_property_IN_ARG_unnamed_arg1 =
-{
-  {
-    -1,
-    "unnamed_arg1",
-    "v",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__method_info_set_property_IN_ARG_pointers[] =
-{
-  &_org_neard_adp__method_info_set_property_IN_ARG_unnamed_arg0,
-  &_org_neard_adp__method_info_set_property_IN_ARG_unnamed_arg1,
-  NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_neard_adp__method_info_set_property =
-{
-  {
-    -1,
-    "SetProperty",
-    (GDBusArgInfo **) &_org_neard_adp__method_info_set_property_IN_ARG_pointers,
-    NULL,
-    NULL
-  },
-  "handle-set-property",
-  FALSE
-};
-
-static const _ExtendedGDBusMethodInfo _org_neard_adp__method_info_start_poll =
-{
-  {
-    -1,
-    "StartPoll",
-    NULL,
-    NULL,
-    NULL
-  },
-  "handle-start-poll",
-  FALSE
-};
-
-static const _ExtendedGDBusMethodInfo _org_neard_adp__method_info_stop_poll =
-{
-  {
-    -1,
-    "StopPoll",
-    NULL,
-    NULL,
-    NULL
-  },
-  "handle-stop-poll",
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__method_info_publish_IN_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "a{sv}",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__method_info_publish_IN_ARG_pointers[] =
-{
-  &_org_neard_adp__method_info_publish_IN_ARG_unnamed_arg0,
-  NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_neard_adp__method_info_publish =
-{
-  {
-    -1,
-    "Publish",
-    (GDBusArgInfo **) &_org_neard_adp__method_info_publish_IN_ARG_pointers,
-    NULL,
-    NULL
-  },
-  "handle-publish",
-  FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _org_neard_adp__method_info_pointers[] =
-{
-  &_org_neard_adp__method_info_get_properties,
-  &_org_neard_adp__method_info_set_property,
-  &_org_neard_adp__method_info_start_poll,
-  &_org_neard_adp__method_info_stop_poll,
-  &_org_neard_adp__method_info_publish,
-  NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__signal_info_property_changed_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "s",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__signal_info_property_changed_ARG_unnamed_arg1 =
-{
-  {
-    -1,
-    "unnamed_arg1",
-    "v",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__signal_info_property_changed_ARG_pointers[] =
-{
-  &_org_neard_adp__signal_info_property_changed_ARG_unnamed_arg0,
-  &_org_neard_adp__signal_info_property_changed_ARG_unnamed_arg1,
-  NULL
-};
-
-static const _ExtendedGDBusSignalInfo _org_neard_adp__signal_info_property_changed =
-{
-  {
-    -1,
-    "PropertyChanged",
-    (GDBusArgInfo **) &_org_neard_adp__signal_info_property_changed_ARG_pointers,
-    NULL
-  },
-  "property-changed"
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__signal_info_target_found_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "o",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__signal_info_target_found_ARG_pointers[] =
-{
-  &_org_neard_adp__signal_info_target_found_ARG_unnamed_arg0,
-  NULL
-};
-
-static const _ExtendedGDBusSignalInfo _org_neard_adp__signal_info_target_found =
-{
-  {
-    -1,
-    "TargetFound",
-    (GDBusArgInfo **) &_org_neard_adp__signal_info_target_found_ARG_pointers,
-    NULL
-  },
-  "target-found"
-};
-
-static const _ExtendedGDBusArgInfo _org_neard_adp__signal_info_target_lost_ARG_unnamed_arg0 =
-{
-  {
-    -1,
-    "unnamed_arg0",
-    "o",
-    NULL
-  },
-  FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_neard_adp__signal_info_target_lost_ARG_pointers[] =
-{
-  &_org_neard_adp__signal_info_target_lost_ARG_unnamed_arg0,
-  NULL
-};
-
-static const _ExtendedGDBusSignalInfo _org_neard_adp__signal_info_target_lost =
-{
-  {
-    -1,
-    "TargetLost",
-    (GDBusArgInfo **) &_org_neard_adp__signal_info_target_lost_ARG_pointers,
-    NULL
-  },
-  "target-lost"
-};
-
-static const _ExtendedGDBusSignalInfo * const _org_neard_adp__signal_info_pointers[] =
-{
-  &_org_neard_adp__signal_info_property_changed,
-  &_org_neard_adp__signal_info_target_found,
-  &_org_neard_adp__signal_info_target_lost,
-  NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _org_neard_adp__interface_info =
-{
-  {
-    -1,
-    "org.neard.Adapter",
-    (GDBusMethodInfo **) &_org_neard_adp__method_info_pointers,
-    (GDBusSignalInfo **) &_org_neard_adp__signal_info_pointers,
-    NULL,
-    NULL
-  },
-  "",
-};
-
-
-/**
- * org_neard_adp__interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-org_neard_adp__interface_info (void)
-{
-  return (GDBusInterfaceInfo *) &_org_neard_adp__interface_info;
-}
-
-/**
- * org_neard_adp__override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #orgNeardAdp interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-org_neard_adp__override_properties (GObjectClass *klass, guint property_id_begin)
-{
-  return property_id_begin - 1;
-}
-
-
-
-/**
- * orgNeardAdp:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link>.
- */
-
-/**
- * orgNeardAdpIface:
- * @parent_iface: The parent interface.
- * @handle_get_properties: Handler for the #orgNeardAdp::handle-get-properties signal.
- * @handle_publish: Handler for the #orgNeardAdp::handle-publish signal.
- * @handle_set_property: Handler for the #orgNeardAdp::handle-set-property signal.
- * @handle_start_poll: Handler for the #orgNeardAdp::handle-start-poll signal.
- * @handle_stop_poll: Handler for the #orgNeardAdp::handle-stop-poll signal.
- * @property_changed: Handler for the #orgNeardAdp::property-changed signal.
- * @target_found: Handler for the #orgNeardAdp::target-found signal.
- * @target_lost: Handler for the #orgNeardAdp::target-lost signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link>.
- */
-
-static void
-org_neard_adp__default_init (orgNeardAdpIface *iface)
-{
-  /* GObject signals for incoming D-Bus method calls: */
-  /**
-   * orgNeardAdp::handle-get-properties:
-   * @object: A #orgNeardAdp.
-   * @invocation: A #GDBusMethodInvocation.
-   *
-   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-neard-Adapter.GetProperties">GetProperties()</link> D-Bus method.
-   *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_neard_adp__complete_get_properties() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
-   *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
-   */
-  g_signal_new ("handle-get-properties",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, handle_get_properties),
-    g_signal_accumulator_true_handled,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_BOOLEAN,
-    1,
-    G_TYPE_DBUS_METHOD_INVOCATION);
-
-  /**
-   * orgNeardAdp::handle-set-property:
-   * @object: A #orgNeardAdp.
-   * @invocation: A #GDBusMethodInvocation.
-   * @arg_unnamed_arg0: Argument passed by remote caller.
-   * @arg_unnamed_arg1: Argument passed by remote caller.
-   *
-   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-neard-Adapter.SetProperty">SetProperty()</link> D-Bus method.
-   *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_neard_adp__complete_set_property() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
-   *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
-   */
-  g_signal_new ("handle-set-property",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, handle_set_property),
-    g_signal_accumulator_true_handled,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_BOOLEAN,
-    3,
-    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_VARIANT);
-
-  /**
-   * orgNeardAdp::handle-start-poll:
-   * @object: A #orgNeardAdp.
-   * @invocation: A #GDBusMethodInvocation.
-   *
-   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-neard-Adapter.StartPoll">StartPoll()</link> D-Bus method.
-   *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_neard_adp__complete_start_poll() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
-   *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
-   */
-  g_signal_new ("handle-start-poll",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, handle_start_poll),
-    g_signal_accumulator_true_handled,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_BOOLEAN,
-    1,
-    G_TYPE_DBUS_METHOD_INVOCATION);
-
-  /**
-   * orgNeardAdp::handle-stop-poll:
-   * @object: A #orgNeardAdp.
-   * @invocation: A #GDBusMethodInvocation.
-   *
-   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-neard-Adapter.StopPoll">StopPoll()</link> D-Bus method.
-   *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_neard_adp__complete_stop_poll() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
-   *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
-   */
-  g_signal_new ("handle-stop-poll",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, handle_stop_poll),
-    g_signal_accumulator_true_handled,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_BOOLEAN,
-    1,
-    G_TYPE_DBUS_METHOD_INVOCATION);
-
-  /**
-   * orgNeardAdp::handle-publish:
-   * @object: A #orgNeardAdp.
-   * @invocation: A #GDBusMethodInvocation.
-   * @arg_unnamed_arg0: Argument passed by remote caller.
-   *
-   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-neard-Adapter.Publish">Publish()</link> D-Bus method.
-   *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_neard_adp__complete_publish() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
-   *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
-   */
-  g_signal_new ("handle-publish",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, handle_publish),
-    g_signal_accumulator_true_handled,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_BOOLEAN,
-    2,
-    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
-
-  /* GObject signals for received D-Bus signals: */
-  /**
-   * orgNeardAdp::property-changed:
-   * @object: A #orgNeardAdp.
-   * @arg_unnamed_arg0: Argument.
-   * @arg_unnamed_arg1: Argument.
-   *
-   * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-neard-Adapter.PropertyChanged">"PropertyChanged"</link> is received.
-   *
-   * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
-   */
-  g_signal_new ("property-changed",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, property_changed),
-    NULL,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_NONE,
-    2, G_TYPE_STRING, G_TYPE_VARIANT);
-
-  /**
-   * orgNeardAdp::target-found:
-   * @object: A #orgNeardAdp.
-   * @arg_unnamed_arg0: Argument.
-   *
-   * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-neard-Adapter.TargetFound">"TargetFound"</link> is received.
-   *
-   * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
-   */
-  g_signal_new ("target-found",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, target_found),
-    NULL,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_NONE,
-    1, G_TYPE_STRING);
-
-  /**
-   * orgNeardAdp::target-lost:
-   * @object: A #orgNeardAdp.
-   * @arg_unnamed_arg0: Argument.
-   *
-   * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-neard-Adapter.TargetLost">"TargetLost"</link> is received.
-   *
-   * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
-   */
-  g_signal_new ("target-lost",
-    G_TYPE_FROM_INTERFACE (iface),
-    G_SIGNAL_RUN_LAST,
-    G_STRUCT_OFFSET (orgNeardAdpIface, target_lost),
-    NULL,
-    NULL,
-    g_cclosure_marshal_generic,
-    G_TYPE_NONE,
-    1, G_TYPE_STRING);
-
-}
-
-typedef orgNeardAdpIface orgNeardAdpInterface;
-G_DEFINE_INTERFACE (orgNeardAdp, org_neard_adp_, G_TYPE_OBJECT);
-
-/**
- * org_neard_adp__emit_property_changed:
- * @object: A #orgNeardAdp.
- * @arg_unnamed_arg0: Argument to pass with the signal.
- * @arg_unnamed_arg1: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-neard-Adapter.PropertyChanged">"PropertyChanged"</link> D-Bus signal.
- */
-void
-org_neard_adp__emit_property_changed (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1)
-{
-  g_signal_emit_by_name (object, "property-changed", arg_unnamed_arg0, arg_unnamed_arg1);
-}
-
-/**
- * org_neard_adp__emit_target_found:
- * @object: A #orgNeardAdp.
- * @arg_unnamed_arg0: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-neard-Adapter.TargetFound">"TargetFound"</link> D-Bus signal.
- */
-void
-org_neard_adp__emit_target_found (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0)
-{
-  g_signal_emit_by_name (object, "target-found", arg_unnamed_arg0);
-}
-
-/**
- * org_neard_adp__emit_target_lost:
- * @object: A #orgNeardAdp.
- * @arg_unnamed_arg0: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-neard-Adapter.TargetLost">"TargetLost"</link> D-Bus signal.
- */
-void
-org_neard_adp__emit_target_lost (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0)
-{
-  g_signal_emit_by_name (object, "target-lost", arg_unnamed_arg0);
-}
-
-/**
- * org_neard_adp__call_get_properties:
- * @proxy: A #orgNeardAdpProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.GetProperties">GetProperties()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__call_get_properties_finish() to get the result of the operation.
- *
- * See org_neard_adp__call_get_properties_sync() for the synchronous, blocking version of this method.
- */
-void
-org_neard_adp__call_get_properties (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data)
-{
-  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
-    "GetProperties",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    callback,
-    user_data);
-}
-
-/**
- * org_neard_adp__call_get_properties_finish:
- * @proxy: A #orgNeardAdpProxy.
- * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__call_get_properties().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_neard_adp__call_get_properties().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_get_properties_finish (
-    orgNeardAdp *proxy,
-    GVariant **out_unnamed_arg0,
-    GAsyncResult *res,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "(@a{sv})",
-                 out_unnamed_arg0);
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_get_properties_sync:
- * @proxy: A #orgNeardAdpProxy.
- * @out_unnamed_arg0: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.GetProperties">GetProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__call_get_properties() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_get_properties_sync (
-    orgNeardAdp *proxy,
-    GVariant **out_unnamed_arg0,
-    GCancellable *cancellable,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
-    "GetProperties",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "(@a{sv})",
-                 out_unnamed_arg0);
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_set_property:
- * @proxy: A #orgNeardAdpProxy.
- * @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @arg_unnamed_arg1: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.SetProperty">SetProperty()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__call_set_property_finish() to get the result of the operation.
- *
- * See org_neard_adp__call_set_property_sync() for the synchronous, blocking version of this method.
- */
-void
-org_neard_adp__call_set_property (
-    orgNeardAdp *proxy,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data)
-{
-  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
-    "SetProperty",
-    g_variant_new ("(s@v)",
-                   arg_unnamed_arg0,
-                   arg_unnamed_arg1),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    callback,
-    user_data);
-}
-
-/**
- * org_neard_adp__call_set_property_finish:
- * @proxy: A #orgNeardAdpProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__call_set_property().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_neard_adp__call_set_property().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_set_property_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_set_property_sync:
- * @proxy: A #orgNeardAdpProxy.
- * @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @arg_unnamed_arg1: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.SetProperty">SetProperty()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__call_set_property() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_set_property_sync (
-    orgNeardAdp *proxy,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1,
-    GCancellable *cancellable,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
-    "SetProperty",
-    g_variant_new ("(s@v)",
-                   arg_unnamed_arg0,
-                   arg_unnamed_arg1),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_start_poll:
- * @proxy: A #orgNeardAdpProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.StartPoll">StartPoll()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__call_start_poll_finish() to get the result of the operation.
- *
- * See org_neard_adp__call_start_poll_sync() for the synchronous, blocking version of this method.
- */
-void
-org_neard_adp__call_start_poll (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data)
-{
-  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
-    "StartPoll",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    callback,
-    user_data);
-}
-
-/**
- * org_neard_adp__call_start_poll_finish:
- * @proxy: A #orgNeardAdpProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__call_start_poll().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_neard_adp__call_start_poll().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_start_poll_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_start_poll_sync:
- * @proxy: A #orgNeardAdpProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.StartPoll">StartPoll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__call_start_poll() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_start_poll_sync (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
-    "StartPoll",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_stop_poll:
- * @proxy: A #orgNeardAdpProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.StopPoll">StopPoll()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__call_stop_poll_finish() to get the result of the operation.
- *
- * See org_neard_adp__call_stop_poll_sync() for the synchronous, blocking version of this method.
- */
-void
-org_neard_adp__call_stop_poll (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data)
-{
-  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
-    "StopPoll",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    callback,
-    user_data);
-}
-
-/**
- * org_neard_adp__call_stop_poll_finish:
- * @proxy: A #orgNeardAdpProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__call_stop_poll().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_neard_adp__call_stop_poll().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_stop_poll_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_stop_poll_sync:
- * @proxy: A #orgNeardAdpProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.StopPoll">StopPoll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__call_stop_poll() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_stop_poll_sync (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
-    "StopPoll",
-    g_variant_new ("()"),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_publish:
- * @proxy: A #orgNeardAdpProxy.
- * @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.Publish">Publish()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__call_publish_finish() to get the result of the operation.
- *
- * See org_neard_adp__call_publish_sync() for the synchronous, blocking version of this method.
- */
-void
-org_neard_adp__call_publish (
-    orgNeardAdp *proxy,
-    GVariant *arg_unnamed_arg0,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data)
-{
-  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
-    "Publish",
-    g_variant_new ("(@a{sv})",
-                   arg_unnamed_arg0),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    callback,
-    user_data);
-}
-
-/**
- * org_neard_adp__call_publish_finish:
- * @proxy: A #orgNeardAdpProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__call_publish().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_neard_adp__call_publish().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_publish_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__call_publish_sync:
- * @proxy: A #orgNeardAdpProxy.
- * @arg_unnamed_arg0: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-neard-Adapter.Publish">Publish()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__call_publish() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_neard_adp__call_publish_sync (
-    orgNeardAdp *proxy,
-    GVariant *arg_unnamed_arg0,
-    GCancellable *cancellable,
-    GError **error)
-{
-  GVariant *_ret;
-  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
-    "Publish",
-    g_variant_new ("(@a{sv})",
-                   arg_unnamed_arg0),
-    G_DBUS_CALL_FLAGS_NONE,
-    -1,
-    cancellable,
-    error);
-  if (_ret == NULL)
-    goto _out;
-  g_variant_get (_ret,
-                 "()");
-  g_variant_unref (_ret);
-_out:
-  return _ret != NULL;
-}
-
-/**
- * org_neard_adp__complete_get_properties:
- * @object: A #orgNeardAdp.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- * @unnamed_arg0: Parameter to return.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-neard-Adapter.GetProperties">GetProperties()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_neard_adp__complete_get_properties (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation,
-    GVariant *unnamed_arg0)
-{
-  g_dbus_method_invocation_return_value (invocation,
-    g_variant_new ("(@a{sv})",
-                   unnamed_arg0));
-}
-
-/**
- * org_neard_adp__complete_set_property:
- * @object: A #orgNeardAdp.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-neard-Adapter.SetProperty">SetProperty()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_neard_adp__complete_set_property (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation)
-{
-  g_dbus_method_invocation_return_value (invocation,
-    g_variant_new ("()"));
-}
-
-/**
- * org_neard_adp__complete_start_poll:
- * @object: A #orgNeardAdp.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-neard-Adapter.StartPoll">StartPoll()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_neard_adp__complete_start_poll (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation)
-{
-  g_dbus_method_invocation_return_value (invocation,
-    g_variant_new ("()"));
-}
-
-/**
- * org_neard_adp__complete_stop_poll:
- * @object: A #orgNeardAdp.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-neard-Adapter.StopPoll">StopPoll()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_neard_adp__complete_stop_poll (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation)
-{
-  g_dbus_method_invocation_return_value (invocation,
-    g_variant_new ("()"));
-}
-
-/**
- * org_neard_adp__complete_publish:
- * @object: A #orgNeardAdp.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-neard-Adapter.Publish">Publish()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_neard_adp__complete_publish (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation)
-{
-  g_dbus_method_invocation_return_value (invocation,
-    g_variant_new ("()"));
-}
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * orgNeardAdpProxy:
- *
- * The #orgNeardAdpProxy structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * orgNeardAdpProxyClass:
- * @parent_class: The parent class.
- *
- * Class structure for #orgNeardAdpProxy.
- */
-
-struct _orgNeardAdpProxyPrivate
-{
-  GData *qdata;
-};
-
-static void org_neard_adp__proxy_iface_init (orgNeardAdpIface *iface);
-
-G_DEFINE_TYPE_WITH_CODE (orgNeardAdpProxy, org_neard_adp__proxy, G_TYPE_DBUS_PROXY,
-                         G_IMPLEMENT_INTERFACE (ORG_NEARD_ADP_TYPE_, org_neard_adp__proxy_iface_init));
-
-static void
-org_neard_adp__proxy_finalize (GObject *object)
-{
-  orgNeardAdpProxy *proxy = ORG_NEARD_ADP__PROXY (object);
-  g_datalist_clear (&proxy->priv->qdata);
-  G_OBJECT_CLASS (org_neard_adp__proxy_parent_class)->finalize (object);
-}
-
-static void
-org_neard_adp__proxy_get_property (GObject      *object,
-  guint         prop_id,
-  GValue       *value,
-  GParamSpec   *pspec)
-{
-}
-
-static void
-org_neard_adp__proxy_set_property (GObject      *object,
-  guint         prop_id,
-  const GValue *value,
-  GParamSpec   *pspec)
-{
-}
-
-static void
-org_neard_adp__proxy_g_signal (GDBusProxy *proxy,
-  const gchar *sender_name,
-  const gchar *signal_name,
-  GVariant *parameters)
-{
-  _ExtendedGDBusSignalInfo *info;
-  GVariantIter iter;
-  GVariant *child;
-  GValue *paramv;
-  guint num_params;
-  guint n;
-  guint signal_id;
-  info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_neard_adp__interface_info, signal_name);
-  if (info == NULL)
-    return;
-  num_params = g_variant_n_children (parameters);
-  paramv = g_new0 (GValue, num_params + 1);
-  g_value_init (&paramv[0], ORG_NEARD_ADP_TYPE_);
-  g_value_set_object (&paramv[0], proxy);
-  g_variant_iter_init (&iter, parameters);
-  n = 1;
-  while ((child = g_variant_iter_next_value (&iter)) != NULL)
-    {
-      _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
-      if (arg_info->use_gvariant)
-        {
-          g_value_init (&paramv[n], G_TYPE_VARIANT);
-          g_value_set_variant (&paramv[n], child);
-          n++;
-        }
-      else
-        g_dbus_gvariant_to_gvalue (child, &paramv[n++]);
-      g_variant_unref (child);
-    }
-  signal_id = g_signal_lookup (info->signal_name, ORG_NEARD_ADP_TYPE_);
-  g_signal_emitv (paramv, signal_id, 0, NULL);
-  for (n = 0; n < num_params + 1; n++)
-    g_value_unset (&paramv[n]);
-  g_free (paramv);
-}
-
-static void
-org_neard_adp__proxy_g_properties_changed (GDBusProxy *_proxy,
-  GVariant *changed_properties,
-  const gchar *const *invalidated_properties)
-{
-  orgNeardAdpProxy *proxy = ORG_NEARD_ADP__PROXY (_proxy);
-  guint n;
-  const gchar *key;
-  GVariantIter *iter;
-  _ExtendedGDBusPropertyInfo *info;
-  g_variant_get (changed_properties, "a{sv}", &iter);
-  while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
-    {
-      info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_neard_adp__interface_info, key);
-      g_datalist_remove_data (&proxy->priv->qdata, key);
-      if (info != NULL)
-        g_object_notify (G_OBJECT (proxy), info->hyphen_name);
-    }
-  g_variant_iter_free (iter);
-  for (n = 0; invalidated_properties[n] != NULL; n++)
-    {
-      info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_neard_adp__interface_info, invalidated_properties[n]);
-      g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
-      if (info != NULL)
-        g_object_notify (G_OBJECT (proxy), info->hyphen_name);
-    }
-}
-
-static void
-org_neard_adp__proxy_init (orgNeardAdpProxy *proxy)
-{
-  proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, ORG_NEARD_ADP_TYPE__PROXY, orgNeardAdpProxyPrivate);
-  g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_neard_adp__interface_info ());
-}
-
-static void
-org_neard_adp__proxy_class_init (orgNeardAdpProxyClass *klass)
-{
-  GObjectClass *gobject_class;
-  GDBusProxyClass *proxy_class;
-
-  g_type_class_add_private (klass, sizeof (orgNeardAdpProxyPrivate));
-
-  gobject_class = G_OBJECT_CLASS (klass);
-  gobject_class->finalize     = org_neard_adp__proxy_finalize;
-  gobject_class->get_property = org_neard_adp__proxy_get_property;
-  gobject_class->set_property = org_neard_adp__proxy_set_property;
-
-  proxy_class = G_DBUS_PROXY_CLASS (klass);
-  proxy_class->g_signal = org_neard_adp__proxy_g_signal;
-  proxy_class->g_properties_changed = org_neard_adp__proxy_g_properties_changed;
-
-}
-
-static void
-org_neard_adp__proxy_iface_init (orgNeardAdpIface *iface)
-{
-}
-
-/**
- * org_neard_adp__proxy_new:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link>. See g_dbus_proxy_new() for more details.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__proxy_new_finish() to get the result of the operation.
- *
- * See org_neard_adp__proxy_new_sync() for the synchronous, blocking version of this constructor.
- */
-void
-org_neard_adp__proxy_new (
-    GDBusConnection     *connection,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GAsyncReadyCallback  callback,
-    gpointer             user_data)
-{
-  g_async_initable_new_async (ORG_NEARD_ADP_TYPE__PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.neard.Adapter", NULL);
-}
-
-/**
- * org_neard_adp__proxy_new_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__proxy_new().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with org_neard_adp__proxy_new().
- *
- * Returns: (transfer full) (type orgNeardAdpProxy): The constructed proxy object or %NULL if @error is set.
- */
-orgNeardAdp *
-org_neard_adp__proxy_new_finish (
-    GAsyncResult        *res,
-    GError             **error)
-{
-  GObject *ret;
-  GObject *source_object;
-  source_object = g_async_result_get_source_object (res);
-  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
-  g_object_unref (source_object);
-  if (ret != NULL)
-    return ORG_NEARD_ADP_ (ret);
-  else
-    return NULL;
-}
-
-/**
- * org_neard_adp__proxy_new_sync:
- * @connection: A #GDBusConnection.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link>. See g_dbus_proxy_new_sync() for more details.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__proxy_new() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type orgNeardAdpProxy): The constructed proxy object or %NULL if @error is set.
- */
-orgNeardAdp *
-org_neard_adp__proxy_new_sync (
-    GDBusConnection     *connection,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GError             **error)
-{
-  GInitable *ret;
-  ret = g_initable_new (ORG_NEARD_ADP_TYPE__PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.neard.Adapter", NULL);
-  if (ret != NULL)
-    return ORG_NEARD_ADP_ (ret);
-  else
-    return NULL;
-}
-
-
-/**
- * org_neard_adp__proxy_new_for_bus:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
- * @user_data: User data to pass to @callback.
- *
- * Like org_neard_adp__proxy_new() but takes a #GBusType instead of a #GDBusConnection.
- *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_neard_adp__proxy_new_for_bus_finish() to get the result of the operation.
- *
- * See org_neard_adp__proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
- */
-void
-org_neard_adp__proxy_new_for_bus (
-    GBusType             bus_type,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GAsyncReadyCallback  callback,
-    gpointer             user_data)
-{
-  g_async_initable_new_async (ORG_NEARD_ADP_TYPE__PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.neard.Adapter", NULL);
-}
-
-/**
- * org_neard_adp__proxy_new_for_bus_finish:
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_neard_adp__proxy_new_for_bus().
- * @error: Return location for error or %NULL
- *
- * Finishes an operation started with org_neard_adp__proxy_new_for_bus().
- *
- * Returns: (transfer full) (type orgNeardAdpProxy): The constructed proxy object or %NULL if @error is set.
- */
-orgNeardAdp *
-org_neard_adp__proxy_new_for_bus_finish (
-    GAsyncResult        *res,
-    GError             **error)
-{
-  GObject *ret;
-  GObject *source_object;
-  source_object = g_async_result_get_source_object (res);
-  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
-  g_object_unref (source_object);
-  if (ret != NULL)
-    return ORG_NEARD_ADP_ (ret);
-  else
-    return NULL;
-}
-
-/**
- * org_neard_adp__proxy_new_for_bus_sync:
- * @bus_type: A #GBusType.
- * @flags: Flags from the #GDBusProxyFlags enumeration.
- * @name: A bus name (well-known or unique).
- * @object_path: An object path.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL
- *
- * Like org_neard_adp__proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
- *
- * The calling thread is blocked until a reply is received.
- *
- * See org_neard_adp__proxy_new_for_bus() for the asynchronous version of this constructor.
- *
- * Returns: (transfer full) (type orgNeardAdpProxy): The constructed proxy object or %NULL if @error is set.
- */
-orgNeardAdp *
-org_neard_adp__proxy_new_for_bus_sync (
-    GBusType             bus_type,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GError             **error)
-{
-  GInitable *ret;
-  ret = g_initable_new (ORG_NEARD_ADP_TYPE__PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.neard.Adapter", NULL);
-  if (ret != NULL)
-    return ORG_NEARD_ADP_ (ret);
-  else
-    return NULL;
-}
-
-
-/* ------------------------------------------------------------------------ */
-
-/**
- * orgNeardAdpSkeleton:
- *
- * The #orgNeardAdpSkeleton structure contains only private data and should only be accessed using the provided API.
- */
-
-/**
- * orgNeardAdpSkeletonClass:
- * @parent_class: The parent class.
- *
- * Class structure for #orgNeardAdpSkeleton.
- */
-
-struct _orgNeardAdpSkeletonPrivate
-{
-  GValueArray *properties;
-  GList *changed_properties;
-  GSource *changed_properties_idle_source;
-  GMainContext *context;
-  GMutex *lock;
-};
-
-static void
-_org_neard_adp__skeleton_handle_method_call (
-  GDBusConnection *connection,
-  const gchar *sender,
-  const gchar *object_path,
-  const gchar *interface_name,
-  const gchar *method_name,
-  GVariant *parameters,
-  GDBusMethodInvocation *invocation,
-  gpointer user_data)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (user_data);
-  _ExtendedGDBusMethodInfo *info;
-  GVariantIter iter;
-  GVariant *child;
-  GValue *paramv;
-  guint num_params;
-  guint num_extra;
-  guint n;
-  guint signal_id;
-  GValue return_value = {0};
-  info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
-  g_assert (info != NULL);
-  num_params = g_variant_n_children (parameters);
-  num_extra = info->pass_fdlist ? 3 : 2;  paramv = g_new0 (GValue, num_params + num_extra);
-  n = 0;
-  g_value_init (&paramv[n], ORG_NEARD_ADP_TYPE_);
-  g_value_set_object (&paramv[n++], skeleton);
-  g_value_init (&paramv[n], G_TYPE_DBUS_METHOD_INVOCATION);
-  g_value_set_object (&paramv[n++], invocation);
-  if (info->pass_fdlist)
-    {
-#ifdef G_OS_UNIX
-      g_value_init (&paramv[n], G_TYPE_UNIX_FD_LIST);
-      g_value_set_object (&paramv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
-#else
-      g_assert_not_reached ();
-#endif
-    }
-  g_variant_iter_init (&iter, parameters);
-  while ((child = g_variant_iter_next_value (&iter)) != NULL)
-    {
-      _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
-      if (arg_info->use_gvariant)
-        {
-          g_value_init (&paramv[n], G_TYPE_VARIANT);
-          g_value_set_variant (&paramv[n], child);
-          n++;
-        }
-      else
-        g_dbus_gvariant_to_gvalue (child, &paramv[n++]);
-      g_variant_unref (child);
-    }
-  signal_id = g_signal_lookup (info->signal_name, ORG_NEARD_ADP_TYPE_);
-  g_value_init (&return_value, G_TYPE_BOOLEAN);
-  g_signal_emitv (paramv, signal_id, 0, &return_value);
-  if (!g_value_get_boolean (&return_value))
-    g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
-  g_value_unset (&return_value);
-  for (n = 0; n < num_params + num_extra; n++)
-    g_value_unset (&paramv[n]);
-  g_free (paramv);
-}
-
-static GVariant *
-_org_neard_adp__skeleton_handle_get_property (
-  GDBusConnection *connection,
-  const gchar *sender,
-  const gchar *object_path,
-  const gchar *interface_name,
-  const gchar *property_name,
-  GError **error,
-  gpointer user_data)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (user_data);
-  GValue value = {0};
-  GParamSpec *pspec;
-  _ExtendedGDBusPropertyInfo *info;
-  GVariant *ret;
-  ret = NULL;
-  info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_neard_adp__interface_info, property_name);
-  g_assert (info != NULL);
-  pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
-  if (pspec == NULL)
-    {
-      g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
-    }
-  else
-    {
-      g_value_init (&value, pspec->value_type);
-      g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
-      ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
-      g_value_unset (&value);
-    }
-  return ret;
-}
-
-static gboolean
-_org_neard_adp__skeleton_handle_set_property (
-  GDBusConnection *connection,
-  const gchar *sender,
-  const gchar *object_path,
-  const gchar *interface_name,
-  const gchar *property_name,
-  GVariant *variant,
-  GError **error,
-  gpointer user_data)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (user_data);
-  GValue value = {0};
-  GParamSpec *pspec;
-  _ExtendedGDBusPropertyInfo *info;
-  gboolean ret;
-  ret = FALSE;
-  info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_neard_adp__interface_info, property_name);
-  g_assert (info != NULL);
-  pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
-  if (pspec == NULL)
-    {
-      g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
-    }
-  else
-    {
-      if (info->use_gvariant)
-        g_value_set_variant (&value, variant);
-      else
-        g_dbus_gvariant_to_gvalue (variant, &value);
-      g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
-      g_value_unset (&value);
-      ret = TRUE;
-    }
-  return ret;
-}
-
-static const GDBusInterfaceVTable _org_neard_adp__skeleton_vtable =
-{
-  _org_neard_adp__skeleton_handle_method_call,
-  _org_neard_adp__skeleton_handle_get_property,
-  _org_neard_adp__skeleton_handle_set_property
-};
-
-static GDBusInterfaceInfo *
-org_neard_adp__skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
-{
-  return org_neard_adp__interface_info ();
-}
-
-static GDBusInterfaceVTable *
-org_neard_adp__skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
-{
-  return (GDBusInterfaceVTable *) &_org_neard_adp__skeleton_vtable;
-}
-
-static GVariant *
-org_neard_adp__skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (_skeleton);
-
-  GVariantBuilder builder;
-  guint n;
-  g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
-  if (_org_neard_adp__interface_info.parent_struct.properties == NULL)
-    goto out;
-  for (n = 0; _org_neard_adp__interface_info.parent_struct.properties[n] != NULL; n++)
-    {
-      GDBusPropertyInfo *info = _org_neard_adp__interface_info.parent_struct.properties[n];
-      if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
-        {
-          GVariant *value;
-          value = _org_neard_adp__skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.neard.Adapter", info->name, NULL, skeleton);
-          if (value != NULL)
-            {
-              g_variant_take_ref (value);
-              g_variant_builder_add (&builder, "{sv}", info->name, value);
-              g_variant_unref (value);
-            }
-        }
-    }
-out:
-  return g_variant_builder_end (&builder);
-}
-
-static void
-org_neard_adp__skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
-{
-}
-
-static void
-_org_neard_adp__on_signal_property_changed (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (object);
-  GDBusConnection *connection = g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton));
-  if (connection == NULL)
-    return;
-  g_dbus_connection_emit_signal (connection,
-    NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.neard.Adapter", "PropertyChanged",
-    g_variant_new ("(s@v)",
-                   arg_unnamed_arg0,
-                   arg_unnamed_arg1), NULL);
-}
-
-static void
-_org_neard_adp__on_signal_target_found (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (object);
-  GDBusConnection *connection = g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton));
-  if (connection == NULL)
-    return;
-  g_dbus_connection_emit_signal (connection,
-    NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.neard.Adapter", "TargetFound",
-    g_variant_new ("(o)",
-                   arg_unnamed_arg0), NULL);
-}
-
-static void
-_org_neard_adp__on_signal_target_lost (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (object);
-  GDBusConnection *connection = g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton));
-  if (connection == NULL)
-    return;
-  g_dbus_connection_emit_signal (connection,
-    NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.neard.Adapter", "TargetLost",
-    g_variant_new ("(o)",
-                   arg_unnamed_arg0), NULL);
-}
-
-static void org_neard_adp__skeleton_iface_init (orgNeardAdpIface *iface);
-G_DEFINE_TYPE_WITH_CODE (orgNeardAdpSkeleton, org_neard_adp__skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
-                         G_IMPLEMENT_INTERFACE (ORG_NEARD_ADP_TYPE_, org_neard_adp__skeleton_iface_init));
-
-static void
-org_neard_adp__skeleton_finalize (GObject *object)
-{
-  orgNeardAdpSkeleton *skeleton = ORG_NEARD_ADP__SKELETON (object);
-  g_list_foreach (skeleton->priv->changed_properties, (GFunc) _changed_property_free, NULL);
-  g_list_free (skeleton->priv->changed_properties);
-  if (skeleton->priv->changed_properties_idle_source != NULL)
-    g_source_destroy (skeleton->priv->changed_properties_idle_source);
-  if (skeleton->priv->context != NULL)
-    g_main_context_unref (skeleton->priv->context);
-  g_mutex_free (skeleton->priv->lock);
-  G_OBJECT_CLASS (org_neard_adp__skeleton_parent_class)->finalize (object);
-}
-
-static void
-org_neard_adp__skeleton_init (orgNeardAdpSkeleton *skeleton)
-{
-  skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, ORG_NEARD_ADP_TYPE__SKELETON, orgNeardAdpSkeletonPrivate);
-  skeleton->priv->lock = g_mutex_new ();
-  skeleton->priv->context = g_main_context_get_thread_default ();
-  if (skeleton->priv->context != NULL)
-    g_main_context_ref (skeleton->priv->context);
-}
-
-static void
-org_neard_adp__skeleton_class_init (orgNeardAdpSkeletonClass *klass)
-{
-  GObjectClass *gobject_class;
-  GDBusInterfaceSkeletonClass *skeleton_class;
-
-  g_type_class_add_private (klass, sizeof (orgNeardAdpSkeletonPrivate));
-
-  gobject_class = G_OBJECT_CLASS (klass);
-  gobject_class->finalize = org_neard_adp__skeleton_finalize;
-
-  skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
-  skeleton_class->get_info = org_neard_adp__skeleton_dbus_interface_get_info;
-  skeleton_class->get_properties = org_neard_adp__skeleton_dbus_interface_get_properties;
-  skeleton_class->flush = org_neard_adp__skeleton_dbus_interface_flush;
-  skeleton_class->get_vtable = org_neard_adp__skeleton_dbus_interface_get_vtable;
-}
-
-static void
-org_neard_adp__skeleton_iface_init (orgNeardAdpIface *iface)
-{
-  iface->property_changed = _org_neard_adp__on_signal_property_changed;
-  iface->target_found = _org_neard_adp__on_signal_target_found;
-  iface->target_lost = _org_neard_adp__on_signal_target_lost;
-}
-
-/**
- * org_neard_adp__skeleton_new:
- *
- * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-neard-Adapter.top_of_page">org.neard.Adapter</link>.
- *
- * Returns: (transfer full) (type orgNeardAdpSkeleton): The skeleton object.
- */
-orgNeardAdp *
-org_neard_adp__skeleton_new (void)
-{
-  return ORG_NEARD_ADP_ (g_object_new (ORG_NEARD_ADP_TYPE__SKELETON, NULL));
-}
-
diff --git a/lib/neard_adapter_proxy.h b/lib/neard_adapter_proxy.h
deleted file mode 100644 (file)
index 6c269bc..0000000
+++ /dev/null
@@ -1,305 +0,0 @@
-/*
- * Generated by gdbus-codegen 2.30.0. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifndef __NEARD_ADAPTER_PROXY_H__
-#define __NEARD_ADAPTER_PROXY_H__
-
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-
-/* ------------------------------------------------------------------------ */
-/* Declarations for org.neard.Adapter */
-
-#define ORG_NEARD_ADP_TYPE_ (org_neard_adp__get_type ())
-#define ORG_NEARD_ADP_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ORG_NEARD_ADP_TYPE_, orgNeardAdp))
-#define ORG_NEARD_ADP_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ORG_NEARD_ADP_TYPE_))
-#define ORG_NEARD_ADP__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), ORG_NEARD_ADP_TYPE_, orgNeardAdpIface))
-
-struct _orgNeardAdp;
-typedef struct _orgNeardAdp orgNeardAdp;
-typedef struct _orgNeardAdpIface orgNeardAdpIface;
-
-struct _orgNeardAdpIface
-{
-  GTypeInterface parent_iface;
-
-
-  gboolean (*handle_get_properties) (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-  gboolean (*handle_publish) (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation,
-    GVariant *arg_unnamed_arg0);
-
-  gboolean (*handle_set_property) (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1);
-
-  gboolean (*handle_start_poll) (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-  gboolean (*handle_stop_poll) (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-  void (*property_changed) (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1);
-
-  void (*target_found) (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0);
-
-  void (*target_lost) (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0);
-
-};
-
-GType org_neard_adp__get_type (void) G_GNUC_CONST;
-
-GDBusInterfaceInfo *org_neard_adp__interface_info (void);
-guint org_neard_adp__override_properties (GObjectClass *klass, guint property_id_begin);
-
-
-/* D-Bus method call completion functions: */
-void org_neard_adp__complete_get_properties (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation,
-    GVariant *unnamed_arg0);
-
-void org_neard_adp__complete_set_property (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-void org_neard_adp__complete_start_poll (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-void org_neard_adp__complete_stop_poll (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-void org_neard_adp__complete_publish (
-    orgNeardAdp *object,
-    GDBusMethodInvocation *invocation);
-
-
-
-/* D-Bus signal emissions functions: */
-void org_neard_adp__emit_property_changed (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1);
-
-void org_neard_adp__emit_target_found (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0);
-
-void org_neard_adp__emit_target_lost (
-    orgNeardAdp *object,
-    const gchar *arg_unnamed_arg0);
-
-
-
-/* D-Bus method calls: */
-void org_neard_adp__call_get_properties (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
-gboolean org_neard_adp__call_get_properties_finish (
-    orgNeardAdp *proxy,
-    GVariant **out_unnamed_arg0,
-    GAsyncResult *res,
-    GError **error);
-
-gboolean org_neard_adp__call_get_properties_sync (
-    orgNeardAdp *proxy,
-    GVariant **out_unnamed_arg0,
-    GCancellable *cancellable,
-    GError **error);
-
-void org_neard_adp__call_set_property (
-    orgNeardAdp *proxy,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
-gboolean org_neard_adp__call_set_property_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error);
-
-gboolean org_neard_adp__call_set_property_sync (
-    orgNeardAdp *proxy,
-    const gchar *arg_unnamed_arg0,
-    GVariant *arg_unnamed_arg1,
-    GCancellable *cancellable,
-    GError **error);
-
-void org_neard_adp__call_start_poll (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
-gboolean org_neard_adp__call_start_poll_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error);
-
-gboolean org_neard_adp__call_start_poll_sync (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GError **error);
-
-void org_neard_adp__call_stop_poll (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
-gboolean org_neard_adp__call_stop_poll_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error);
-
-gboolean org_neard_adp__call_stop_poll_sync (
-    orgNeardAdp *proxy,
-    GCancellable *cancellable,
-    GError **error);
-
-void org_neard_adp__call_publish (
-    orgNeardAdp *proxy,
-    GVariant *arg_unnamed_arg0,
-    GCancellable *cancellable,
-    GAsyncReadyCallback callback,
-    gpointer user_data);
-
-gboolean org_neard_adp__call_publish_finish (
-    orgNeardAdp *proxy,
-    GAsyncResult *res,
-    GError **error);
-
-gboolean org_neard_adp__call_publish_sync (
-    orgNeardAdp *proxy,
-    GVariant *arg_unnamed_arg0,
-    GCancellable *cancellable,
-    GError **error);
-
-
-
-/* ---- */
-
-#define ORG_NEARD_ADP_TYPE__PROXY (org_neard_adp__proxy_get_type ())
-#define ORG_NEARD_ADP__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ORG_NEARD_ADP_TYPE__PROXY, orgNeardAdpProxy))
-#define ORG_NEARD_ADP__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ORG_NEARD_ADP_TYPE__PROXY, orgNeardAdpProxyClass))
-#define ORG_NEARD_ADP__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ORG_NEARD_ADP_TYPE__PROXY, orgNeardAdpProxyClass))
-#define ORG_NEARD_ADP_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ORG_NEARD_ADP_TYPE__PROXY))
-#define ORG_NEARD_ADP_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ORG_NEARD_ADP_TYPE__PROXY))
-
-typedef struct _orgNeardAdpProxy orgNeardAdpProxy;
-typedef struct _orgNeardAdpProxyClass orgNeardAdpProxyClass;
-typedef struct _orgNeardAdpProxyPrivate orgNeardAdpProxyPrivate;
-
-struct _orgNeardAdpProxy
-{
-  /*< private >*/
-  GDBusProxy parent_instance;
-  orgNeardAdpProxyPrivate *priv;
-};
-
-struct _orgNeardAdpProxyClass
-{
-  GDBusProxyClass parent_class;
-};
-
-GType org_neard_adp__proxy_get_type (void) G_GNUC_CONST;
-
-void org_neard_adp__proxy_new (
-    GDBusConnection     *connection,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GAsyncReadyCallback  callback,
-    gpointer             user_data);
-orgNeardAdp *org_neard_adp__proxy_new_finish (
-    GAsyncResult        *res,
-    GError             **error);
-orgNeardAdp *org_neard_adp__proxy_new_sync (
-    GDBusConnection     *connection,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GError             **error);
-
-void org_neard_adp__proxy_new_for_bus (
-    GBusType             bus_type,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GAsyncReadyCallback  callback,
-    gpointer             user_data);
-orgNeardAdp *org_neard_adp__proxy_new_for_bus_finish (
-    GAsyncResult        *res,
-    GError             **error);
-orgNeardAdp *org_neard_adp__proxy_new_for_bus_sync (
-    GBusType             bus_type,
-    GDBusProxyFlags      flags,
-    const gchar         *name,
-    const gchar         *object_path,
-    GCancellable        *cancellable,
-    GError             **error);
-
-
-/* ---- */
-
-#define ORG_NEARD_ADP_TYPE__SKELETON (org_neard_adp__skeleton_get_type ())
-#define ORG_NEARD_ADP__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ORG_NEARD_ADP_TYPE__SKELETON, orgNeardAdpSkeleton))
-#define ORG_NEARD_ADP__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ORG_NEARD_ADP_TYPE__SKELETON, orgNeardAdpSkeletonClass))
-#define ORG_NEARD_ADP__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ORG_NEARD_ADP_TYPE__SKELETON, orgNeardAdpSkeletonClass))
-#define ORG_NEARD_ADP_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ORG_NEARD_ADP_TYPE__SKELETON))
-#define ORG_NEARD_ADP_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ORG_NEARD_ADP_TYPE__SKELETON))
-
-typedef struct _orgNeardAdpSkeleton orgNeardAdpSkeleton;
-typedef struct _orgNeardAdpSkeletonClass orgNeardAdpSkeletonClass;
-typedef struct _orgNeardAdpSkeletonPrivate orgNeardAdpSkeletonPrivate;
-
-struct _orgNeardAdpSkeleton
-{
-  /*< private >*/
-  GDBusInterfaceSkeleton parent_instance;
-  orgNeardAdpSkeletonPrivate *priv;
-};
-
-struct _orgNeardAdpSkeletonClass
-{
-  GDBusInterfaceSkeletonClass parent_class;
-};
-
-GType org_neard_adp__skeleton_get_type (void) G_GNUC_CONST;
-
-orgNeardAdp *org_neard_adp__skeleton_new (void);
-
-
-G_END_DECLS
-
-#endif /* __NEARD_ADAPTER_PROXY_H__ */