tp-chan-type-streamed-media-gen.h | tp-chan-type-streamed-media-gen.h | |||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
stuff = g_slice_new (DBusGAsyncData); | stuff = g_slice_new (DBusGAsyncData); | |||
stuff->cb = G_CALLBACK (callback); | stuff->cb = G_CALLBACK (callback); | |||
stuff->userdata = userdata; | stuff->userdata = userdata; | |||
return dbus_g_proxy_begin_call (proxy, "ListStreams", tp_chan_type_stream ed_media_list_streams_async_callback, stuff, _dbus_glib_async_data_free, G_ TYPE_INVALID); | return dbus_g_proxy_begin_call (proxy, "ListStreams", tp_chan_type_stream ed_media_list_streams_async_callback, stuff, _dbus_glib_async_data_free, G_ TYPE_INVALID); | |||
} | } | |||
static | static | |||
#ifdef G_HAVE_INLINE | #ifdef G_HAVE_INLINE | |||
inline | inline | |||
#endif | #endif | |||
gboolean | gboolean | |||
tp_chan_type_streamed_media_remove_streams (DBusGProxy *proxy, const GArray | ||||
* IN_streams, GError **error) | ||||
{ | ||||
return dbus_g_proxy_call (proxy, "RemoveStreams", error, dbus_g_type_get_ | ||||
collection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_INVALID, G_TYPE_INVA | ||||
LID); | ||||
} | ||||
typedef void (*tp_chan_type_streamed_media_remove_streams_reply) (DBusGProx | ||||
y *proxy, GError *error, gpointer userdata); | ||||
static void | ||||
tp_chan_type_streamed_media_remove_streams_async_callback (DBusGProxy *prox | ||||
y, DBusGProxyCall *call, void *user_data) | ||||
{ | ||||
DBusGAsyncData *data = (DBusGAsyncData*) user_data; | ||||
GError *error = NULL; | ||||
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | ||||
(*(tp_chan_type_streamed_media_remove_streams_reply)data->cb) (proxy, err | ||||
or, data->userdata); | ||||
return; | ||||
} | ||||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
DBusGProxyCall* | ||||
tp_chan_type_streamed_media_remove_streams_async (DBusGProxy *proxy, const | ||||
GArray* IN_streams, tp_chan_type_streamed_media_remove_streams_reply callba | ||||
ck, gpointer userdata) | ||||
{ | ||||
DBusGAsyncData *stuff; | ||||
stuff = g_slice_new (DBusGAsyncData); | ||||
stuff->cb = G_CALLBACK (callback); | ||||
stuff->userdata = userdata; | ||||
return dbus_g_proxy_begin_call (proxy, "RemoveStreams", tp_chan_type_stre | ||||
amed_media_remove_streams_async_callback, stuff, _dbus_glib_async_data_free | ||||
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_streams, G_TYPE_IN | ||||
VALID); | ||||
} | ||||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
gboolean | ||||
tp_chan_type_streamed_media_request_stream_direction (DBusGProxy *proxy, co nst guint IN_stream_id, const guint IN_stream_direction, GError **error) | tp_chan_type_streamed_media_request_stream_direction (DBusGProxy *proxy, co nst guint IN_stream_id, const guint IN_stream_direction, GError **error) | |||
{ | { | |||
return dbus_g_proxy_call (proxy, "RequestStreamDirection", error, G_TYPE_ UINT, IN_stream_id, G_TYPE_UINT, IN_stream_direction, G_TYPE_INVALID, G_TYP E_INVALID); | return dbus_g_proxy_call (proxy, "RequestStreamDirection", error, G_TYPE_ UINT, IN_stream_id, G_TYPE_UINT, IN_stream_direction, G_TYPE_INVALID, G_TYP E_INVALID); | |||
} | } | |||
typedef void (*tp_chan_type_streamed_media_request_stream_direction_reply) (DBusGProxy *proxy, GError *error, gpointer userdata); | typedef void (*tp_chan_type_streamed_media_request_stream_direction_reply) (DBusGProxy *proxy, GError *error, gpointer userdata); | |||
static void | static void | |||
tp_chan_type_streamed_media_request_stream_direction_async_callback (DBusGP roxy *proxy, DBusGProxyCall *call, void *user_data) | tp_chan_type_streamed_media_request_stream_direction_async_callback (DBusGP roxy *proxy, DBusGProxyCall *call, void *user_data) | |||
skipping to change at line 104 | skipping to change at line 141 | |||
stuff = g_slice_new (DBusGAsyncData); | stuff = g_slice_new (DBusGAsyncData); | |||
stuff->cb = G_CALLBACK (callback); | stuff->cb = G_CALLBACK (callback); | |||
stuff->userdata = userdata; | stuff->userdata = userdata; | |||
return dbus_g_proxy_begin_call (proxy, "RequestStreamDirection", tp_chan_ type_streamed_media_request_stream_direction_async_callback, stuff, _dbus_g lib_async_data_free, G_TYPE_UINT, IN_stream_id, G_TYPE_UINT, IN_stream_dire ction, G_TYPE_INVALID); | return dbus_g_proxy_begin_call (proxy, "RequestStreamDirection", tp_chan_ type_streamed_media_request_stream_direction_async_callback, stuff, _dbus_g lib_async_data_free, G_TYPE_UINT, IN_stream_id, G_TYPE_UINT, IN_stream_dire ction, G_TYPE_INVALID); | |||
} | } | |||
static | static | |||
#ifdef G_HAVE_INLINE | #ifdef G_HAVE_INLINE | |||
inline | inline | |||
#endif | #endif | |||
gboolean | gboolean | |||
tp_chan_type_streamed_media_request_streams (DBusGProxy *proxy, const guint IN_contact_handle, const GArray* IN_types, GArray** OUT_arg2, GError **err or) | tp_chan_type_streamed_media_request_streams (DBusGProxy *proxy, const guint IN_contact_handle, const GArray* IN_types, GPtrArray** OUT_arg2, GError ** error) | |||
{ | { | |||
return dbus_g_proxy_call (proxy, "RequestStreams", error, G_TYPE_UINT, IN _contact_handle, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_typ es, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT _arg2, G_TYPE_INVALID); | return dbus_g_proxy_call (proxy, "RequestStreams", error, G_TYPE_UINT, IN _contact_handle, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_typ es, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_ge t_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT , G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT_arg2, G_TYPE_INVALID); | |||
} | } | |||
typedef void (*tp_chan_type_streamed_media_request_streams_reply) (DBusGPro xy *proxy, GArray *OUT_arg2, GError *error, gpointer userdata); | typedef void (*tp_chan_type_streamed_media_request_streams_reply) (DBusGPro xy *proxy, GPtrArray *OUT_arg2, GError *error, gpointer userdata); | |||
static void | static void | |||
tp_chan_type_streamed_media_request_streams_async_callback (DBusGProxy *pro xy, DBusGProxyCall *call, void *user_data) | tp_chan_type_streamed_media_request_streams_async_callback (DBusGProxy *pro xy, DBusGProxyCall *call, void *user_data) | |||
{ | { | |||
DBusGAsyncData *data = (DBusGAsyncData*) user_data; | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |||
GError *error = NULL; | GError *error = NULL; | |||
GArray* OUT_arg2; | GPtrArray* OUT_arg2; | |||
dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | |||
GArray", G_TYPE_UINT), &OUT_arg2, G_TYPE_INVALID); | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT | |||
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OU | ||||
T_arg2, G_TYPE_INVALID); | ||||
(*(tp_chan_type_streamed_media_request_streams_reply)data->cb) (proxy, OU T_arg2, error, data->userdata); | (*(tp_chan_type_streamed_media_request_streams_reply)data->cb) (proxy, OU T_arg2, error, data->userdata); | |||
return; | return; | |||
} | } | |||
static | static | |||
#ifdef G_HAVE_INLINE | #ifdef G_HAVE_INLINE | |||
inline | inline | |||
#endif | #endif | |||
DBusGProxyCall* | DBusGProxyCall* | |||
tp_chan_type_streamed_media_request_streams_async (DBusGProxy *proxy, const guint IN_contact_handle, const GArray* IN_types, tp_chan_type_streamed_med ia_request_streams_reply callback, gpointer userdata) | tp_chan_type_streamed_media_request_streams_async (DBusGProxy *proxy, const guint IN_contact_handle, const GArray* IN_types, tp_chan_type_streamed_med ia_request_streams_reply callback, gpointer userdata) | |||
End of changes. 5 change blocks. | ||||
6 lines changed or deleted | 56 lines changed or added | |||