1
/* Generated by dbus-binding-tool; do not edit! */
4
#include <dbus/dbus-glib.h>
8
#ifndef _DBUS_GLIB_ASYNC_DATA_FREE
9
#define _DBUS_GLIB_ASYNC_DATA_FREE
15
_dbus_glib_async_data_free (gpointer stuff)
17
g_slice_free (DBusGAsyncData, stuff);
21
#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_status_service
22
#define DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_status_service
29
org_ayatana_indicator_status_service_watch (DBusGProxy *proxy, GError **error)
32
return dbus_g_proxy_call (proxy, "Watch", error, G_TYPE_INVALID, G_TYPE_INVALID);
35
typedef void (*org_ayatana_indicator_status_service_watch_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
38
org_ayatana_indicator_status_service_watch_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
40
DBusGAsyncData *data = (DBusGAsyncData*) user_data;
42
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
43
(*(org_ayatana_indicator_status_service_watch_reply)data->cb) (proxy, error, data->userdata);
52
org_ayatana_indicator_status_service_watch_async (DBusGProxy *proxy, org_ayatana_indicator_status_service_watch_reply callback, gpointer userdata)
55
DBusGAsyncData *stuff;
56
stuff = g_slice_new (DBusGAsyncData);
57
stuff->cb = G_CALLBACK (callback);
58
stuff->userdata = userdata;
59
return dbus_g_proxy_begin_call (proxy, "Watch", org_ayatana_indicator_status_service_watch_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
66
org_ayatana_indicator_status_service_status_icons (DBusGProxy *proxy, char ** OUT_icons, GError **error)
69
return dbus_g_proxy_call (proxy, "StatusIcons", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_icons, G_TYPE_INVALID);
72
typedef void (*org_ayatana_indicator_status_service_status_icons_reply) (DBusGProxy *proxy, char * OUT_icons, GError *error, gpointer userdata);
75
org_ayatana_indicator_status_service_status_icons_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
77
DBusGAsyncData *data = (DBusGAsyncData*) user_data;
80
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_icons, G_TYPE_INVALID);
81
(*(org_ayatana_indicator_status_service_status_icons_reply)data->cb) (proxy, OUT_icons, error, data->userdata);
90
org_ayatana_indicator_status_service_status_icons_async (DBusGProxy *proxy, org_ayatana_indicator_status_service_status_icons_reply callback, gpointer userdata)
93
DBusGAsyncData *stuff;
94
stuff = g_slice_new (DBusGAsyncData);
95
stuff->cb = G_CALLBACK (callback);
96
stuff->userdata = userdata;
97
return dbus_g_proxy_begin_call (proxy, "StatusIcons", org_ayatana_indicator_status_service_status_icons_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
104
org_ayatana_indicator_status_service_pretty_user_name (DBusGProxy *proxy, char ** OUT_name, GError **error)
107
return dbus_g_proxy_call (proxy, "PrettyUserName", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_name, G_TYPE_INVALID);
110
typedef void (*org_ayatana_indicator_status_service_pretty_user_name_reply) (DBusGProxy *proxy, char * OUT_name, GError *error, gpointer userdata);
113
org_ayatana_indicator_status_service_pretty_user_name_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
115
DBusGAsyncData *data = (DBusGAsyncData*) user_data;
116
GError *error = NULL;
118
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_name, G_TYPE_INVALID);
119
(*(org_ayatana_indicator_status_service_pretty_user_name_reply)data->cb) (proxy, OUT_name, error, data->userdata);
128
org_ayatana_indicator_status_service_pretty_user_name_async (DBusGProxy *proxy, org_ayatana_indicator_status_service_pretty_user_name_reply callback, gpointer userdata)
131
DBusGAsyncData *stuff;
132
stuff = g_slice_new (DBusGAsyncData);
133
stuff->cb = G_CALLBACK (callback);
134
stuff->userdata = userdata;
135
return dbus_g_proxy_begin_call (proxy, "PrettyUserName", org_ayatana_indicator_status_service_pretty_user_name_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
137
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_status_service */