Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 /* Generated by dbus-binding-tool; do not edit! */
21 #include <glib/gtypes.h>
22 #include <glib/gerror.h>
23 #include <dbus/dbus-glib.h>
27 #ifndef DBUS_GLIB_CLIENT_WRAPPERS_com_example_SomeObject
28 #define DBUS_GLIB_CLIENT_WRAPPERS_com_example_SomeObject
35 com_example_SomeObject_method1 (DBusGProxy *proxy, const guint IN_x, const GArray* IN_y, guint* OUT_z, GError **error)
38 return dbus_g_proxy_call (proxy, "Method1", error, G_TYPE_UINT, IN_x, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), IN_y, G_TYPE_INVALID, G_TYPE_UINT, OUT_z, G_TYPE_INVALID);
41 typedef void (*com_example_SomeObject_method1_reply) (DBusGProxy *proxy, guint OUT_z, GError *error, gpointer userdata);
44 com_example_SomeObject_method1_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
46 DBusGAsyncData *data = (DBusGAsyncData *)user_data;
49 dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_z, G_TYPE_INVALID);
50 (*(com_example_SomeObject_method1_reply)data->cb) (proxy, OUT_z, error, data->userdata);
59 com_example_SomeObject_method1_async (DBusGProxy *proxy, const guint IN_x, const GArray* IN_y, com_example_SomeObject_method1_reply callback, gpointer userdata)
62 DBusGAsyncData *stuff;
63 stuff = g_new (DBusGAsyncData, 1);
64 stuff->cb = G_CALLBACK (callback);
65 stuff->userdata = userdata;
66 return dbus_g_proxy_begin_call (proxy, "Method1", com_example_SomeObject_method1_async_callback, stuff, g_free, G_TYPE_UINT, IN_x, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), IN_y, G_TYPE_INVALID);
68 #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_com_example_SomeObject */