4 * Copyright (c) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: JongHyuk Choi <jhchoi.choi@samsung.com>, ByungWook Jang <bw.jang@samsung.com>,
7 * Manoj Kumar K <manojkumar.k@samsung.com>, Hyunil Park <hyunil46.park@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 /* Generated by dbus-binding-tool; do not edit! */
26 #include <dbus/dbus-glib.h>
30 #ifndef _DBUS_GLIB_ASYNC_DATA_FREE
31 #define _DBUS_GLIB_ASYNC_DATA_FREE
37 _dbus_glib_async_data_free (gpointer stuff)
39 g_slice_free (DBusGAsyncData, stuff);
43 #ifndef DBUS_GLIB_CLIENT_WRAPPERS_com_samsung_wfd_server
44 #define DBUS_GLIB_CLIENT_WRAPPERS_com_samsung_wfd_server
51 com_samsung_wfd_server_test_method (DBusGProxy *proxy, const gint IN_pid, const char * IN_test_name, gint* OUT_return_code, GError **error)
54 return dbus_g_proxy_call (proxy, "test_method", error, G_TYPE_INT, IN_pid, G_TYPE_STRING, IN_test_name, G_TYPE_INVALID, G_TYPE_INT, OUT_return_code, G_TYPE_INVALID);
57 typedef void (*com_samsung_wfd_server_test_method_reply) (DBusGProxy *proxy, gint OUT_return_code, GError *error, gpointer userdata);
60 com_samsung_wfd_server_test_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
62 DBusGAsyncData *data = (DBusGAsyncData*) user_data;
65 dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_return_code, G_TYPE_INVALID);
66 (*(com_samsung_wfd_server_test_method_reply)data->cb) (proxy, OUT_return_code, error, data->userdata);
75 com_samsung_wfd_server_test_method_async (DBusGProxy *proxy, const gint IN_pid, const char * IN_test_name, com_samsung_wfd_server_test_method_reply callback, gpointer userdata)
78 DBusGAsyncData *stuff;
79 stuff = g_slice_new (DBusGAsyncData);
80 stuff->cb = G_CALLBACK (callback);
81 stuff->userdata = userdata;
82 return dbus_g_proxy_begin_call (proxy, "test_method", com_samsung_wfd_server_test_method_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INT, IN_pid, G_TYPE_STRING, IN_test_name, G_TYPE_INVALID);
84 #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_com_samsung_wfd_server */