/* Generated by dbus-binding-tool; do not edit! */

#include <glib.h>
#include <dbus/dbus-glib.h>

G_BEGIN_DECLS

#ifndef _DBUS_GLIB_ASYNC_DATA_FREE
#define _DBUS_GLIB_ASYNC_DATA_FREE
static
#ifdef G_HAVE_INLINE
inline
#endif
void
_dbus_glib_async_data_free (gpointer stuff)
{
	g_slice_free (DBusGAsyncData, stuff);
}
#endif

#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Geoclue
#define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Geoclue

static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_freedesktop_Geoclue_get_provider_info (DBusGProxy *proxy, char ** OUT_Name, char ** OUT_Description, GError **error)

{
  return dbus_g_proxy_call (proxy, "GetProviderInfo", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_Name, G_TYPE_STRING, OUT_Description, G_TYPE_INVALID);
}

typedef void (*org_freedesktop_Geoclue_get_provider_info_reply) (DBusGProxy *proxy, char * OUT_Name, char * OUT_Description, GError *error, gpointer userdata);

static void
org_freedesktop_Geoclue_get_provider_info_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  char * OUT_Name;
  char * OUT_Description;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_Name, G_TYPE_STRING, &OUT_Description, G_TYPE_INVALID);
  (*(org_freedesktop_Geoclue_get_provider_info_reply)data->cb) (proxy, OUT_Name, OUT_Description, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_freedesktop_Geoclue_get_provider_info_async (DBusGProxy *proxy, org_freedesktop_Geoclue_get_provider_info_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "GetProviderInfo", org_freedesktop_Geoclue_get_provider_info_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
}
static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_freedesktop_Geoclue_get_status (DBusGProxy *proxy, gint* OUT_status, GError **error)

{
  return dbus_g_proxy_call (proxy, "GetStatus", error, G_TYPE_INVALID, G_TYPE_INT, OUT_status, G_TYPE_INVALID);
}

typedef void (*org_freedesktop_Geoclue_get_status_reply) (DBusGProxy *proxy, gint OUT_status, GError *error, gpointer userdata);

static void
org_freedesktop_Geoclue_get_status_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  gint OUT_status;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_status, G_TYPE_INVALID);
  (*(org_freedesktop_Geoclue_get_status_reply)data->cb) (proxy, OUT_status, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_freedesktop_Geoclue_get_status_async (DBusGProxy *proxy, org_freedesktop_Geoclue_get_status_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "GetStatus", org_freedesktop_Geoclue_get_status_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
}
static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_freedesktop_Geoclue_set_options (DBusGProxy *proxy, const GHashTable* IN_options, GError **error)

{
  return dbus_g_proxy_call (proxy, "SetOptions", error, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_options, G_TYPE_INVALID, G_TYPE_INVALID);
}

typedef void (*org_freedesktop_Geoclue_set_options_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);

static void
org_freedesktop_Geoclue_set_options_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  (*(org_freedesktop_Geoclue_set_options_reply)data->cb) (proxy, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_freedesktop_Geoclue_set_options_async (DBusGProxy *proxy, const GHashTable* IN_options, org_freedesktop_Geoclue_set_options_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "SetOptions", org_freedesktop_Geoclue_set_options_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_options, G_TYPE_INVALID);
}
static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_freedesktop_Geoclue_add_reference (DBusGProxy *proxy, GError **error)

{
  return dbus_g_proxy_call (proxy, "AddReference", error, G_TYPE_INVALID, G_TYPE_INVALID);
}

typedef void (*org_freedesktop_Geoclue_add_reference_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);

static void
org_freedesktop_Geoclue_add_reference_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  (*(org_freedesktop_Geoclue_add_reference_reply)data->cb) (proxy, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_freedesktop_Geoclue_add_reference_async (DBusGProxy *proxy, org_freedesktop_Geoclue_add_reference_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "AddReference", org_freedesktop_Geoclue_add_reference_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
}
static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_freedesktop_Geoclue_remove_reference (DBusGProxy *proxy, GError **error)

{
  return dbus_g_proxy_call (proxy, "RemoveReference", error, G_TYPE_INVALID, G_TYPE_INVALID);
}

typedef void (*org_freedesktop_Geoclue_remove_reference_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);

static void
org_freedesktop_Geoclue_remove_reference_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  (*(org_freedesktop_Geoclue_remove_reference_reply)data->cb) (proxy, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_freedesktop_Geoclue_remove_reference_async (DBusGProxy *proxy, org_freedesktop_Geoclue_remove_reference_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "RemoveReference", org_freedesktop_Geoclue_remove_reference_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
}
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Geoclue */

G_END_DECLS
