| tp-chan-type-streamed-media-gen.h | | tp-chan-type-streamed-media-gen.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #endif | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_St
reamedMedia | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_chan_type_streamed_media_get_session_handlers (DBusGProxy *proxy, GPtrAr
ray** OUT_arg0, GError **error) | | tp_chan_type_streamed_media_list_streams (DBusGProxy *proxy, GPtrArray** OU
T_arg0, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "GetSessionHandlers", error, G_TYPE_INVA
LID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GVal
ueArray", G_TYPE_UINT, DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING, G_TYPE_INVAL
ID)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListStreams", error, G_TYPE_INVALID, db
us_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray
", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_
INVALID)), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_chan_type_streamed_media_get_session_handlers_reply) (DBu
sGProxy *proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_list_streams_reply) (DBusGProxy
*proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_chan_type_streamed_media_get_session_handlers_async_callback (DBusGProxy
*proxy, DBusGProxyCall *call, void *user_data) | | tp_chan_type_streamed_media_list_streams_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg0; | |
|
| 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 (" | |
| GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, DBUS_TYPE_G | | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT | |
| _OBJECT_PATH, G_TYPE_STRING, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID); | | , G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYP | |
| (*(tp_chan_type_streamed_media_get_session_handlers_reply)data->cb) (prox | | E_INVALID); | |
| y, OUT_arg0, error, data->userdata); | | (*(tp_chan_type_streamed_media_list_streams_reply)data->cb) (proxy, OUT_a | |
| | | rg0, 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_get_session_handlers_async (DBusGProxy *proxy,
tp_chan_type_streamed_media_get_session_handlers_reply callback, gpointer u
serdata) | | tp_chan_type_streamed_media_list_streams_async (DBusGProxy *proxy, tp_chan_
type_streamed_media_list_streams_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "GetSessionHandlers", tp_chan_type
_streamed_media_get_session_handlers_async_callback, stuff, _dbus_glib_asyn
c_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_get_streams (DBusGProxy *proxy, GPtrArray** OUT
_arg0, GError **error) | | tp_chan_type_streamed_media_request_streams (DBusGProxy *proxy, const guint
IN_contact_handle, const GArray* IN_types, GArray** OUT_arg2, GError **err
or) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "GetStreams", error, G_TYPE_INVALID, dbu
s_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray"
, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), OUT
_arg0, 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 ("GArray", G_TYPE_UINT), OUT
_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_chan_type_streamed_media_get_streams_reply) (DBusGProxy *
proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_streamed_media_request_streams_reply) (DBusGPro
xy *proxy, GArray *OUT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_chan_type_streamed_media_get_streams_async_callback (DBusGProxy *proxy,
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; | |
|
| GPtrArray* OUT_arg0; | | GArray* 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 (" | |
| GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT | | GArray", G_TYPE_UINT), &OUT_arg2, G_TYPE_INVALID); | |
| , G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID); | | (*(tp_chan_type_streamed_media_request_streams_reply)data->cb) (proxy, OU | |
| (*(tp_chan_type_streamed_media_get_streams_reply)data->cb) (proxy, OUT_ar | | T_arg2, error, data->userdata); | |
| g0, 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_get_streams_async (DBusGProxy *proxy, tp_chan_t
ype_streamed_media_get_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) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "GetStreams", tp_chan_type_streame
d_media_get_streams_async_callback, stuff, _dbus_glib_async_data_free, G_TY
PE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestStreams", tp_chan_type_str
eamed_media_request_streams_async_callback, stuff, _dbus_glib_async_data_fr
ee, G_TYPE_UINT, IN_contact_handle, dbus_g_type_get_collection ("GArray", G
_TYPE_UINT), IN_types, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_StreamedMedia */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Type_StreamedMedia */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 14 change blocks. |
| 23 lines changed or deleted | | 23 lines changed or added | |
|
| tp-chan-type-text-gen.h | | tp-chan-type-text-gen.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #endif | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Type_Te
xt | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_chan_type_text_acknowledge_pending_message (DBusGProxy *proxy, const gui
nt IN_id, GError **error) | | tp_chan_type_text_acknowledge_pending_messages (DBusGProxy *proxy, const GA
rray* IN_ids, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "AcknowledgePendingMessage", error, G_TY
PE_UINT, IN_id, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "AcknowledgePendingMessages", error, dbu
s_g_type_get_collection ("GArray", G_TYPE_UINT), IN_ids, G_TYPE_INVALID, G_
TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_chan_type_text_acknowledge_pending_message_reply) (DBusGP
roxy *proxy, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_text_acknowledge_pending_messages_reply) (DBusG
Proxy *proxy, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_chan_type_text_acknowledge_pending_message_async_callback (DBusGProxy *p
roxy, DBusGProxyCall *call, void *user_data) | | tp_chan_type_text_acknowledge_pending_messages_async_callback (DBusGProxy *
proxy, DBusGProxyCall *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
|
| (*(tp_chan_type_text_acknowledge_pending_message_reply)data->cb) (proxy,
error, data->userdata); | | (*(tp_chan_type_text_acknowledge_pending_messages_reply)data->cb) (proxy,
error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_chan_type_text_acknowledge_pending_message_async (DBusGProxy *proxy, con
st guint IN_id, tp_chan_type_text_acknowledge_pending_message_reply callbac
k, gpointer userdata) | | tp_chan_type_text_acknowledge_pending_messages_async (DBusGProxy *proxy, co
nst GArray* IN_ids, tp_chan_type_text_acknowledge_pending_messages_reply ca
llback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "AcknowledgePendingMessage", tp_ch
an_type_text_acknowledge_pending_message_async_callback, stuff, _dbus_glib_
async_data_free, G_TYPE_UINT, IN_id, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "AcknowledgePendingMessages", tp_c
han_type_text_acknowledge_pending_messages_async_callback, stuff, _dbus_gli
b_async_data_free, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_i
ds, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_get_message_types (DBusGProxy *proxy, GArray** OUT_arg0,
GError **error) | | tp_chan_type_text_get_message_types (DBusGProxy *proxy, GArray** OUT_arg0,
GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "GetMessageTypes", error, G_TYPE_INVALID
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVA
LID); | | return dbus_g_proxy_call (proxy, "GetMessageTypes", error, G_TYPE_INVALID
, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), OUT_arg0, G_TYPE_INVA
LID); | |
| | | | |
| skipping to change at line 104 | | skipping to change at line 104 | |
| 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, "GetMessageTypes", tp_chan_type_te
xt_get_message_types_async_callback, stuff, _dbus_glib_async_data_free, G_T
YPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetMessageTypes", tp_chan_type_te
xt_get_message_types_async_callback, stuff, _dbus_glib_async_data_free, G_T
YPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_chan_type_text_list_pending_messages (DBusGProxy *proxy, GPtrArray** OUT
_arg0, GError **error) | | tp_chan_type_text_list_pending_messages (DBusGProxy *proxy, const gboolean
IN_clear, GPtrArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "ListPendingMessages", error, G_TYPE_INV
ALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GVa
lueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRIN
G, G_TYPE_INVALID)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListPendingMessages", error, G_TYPE_BOO
LEAN, IN_clear, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", db
us_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT,
G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), OUT_arg1, G_TYP
E_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_chan_type_text_list_pending_messages_reply) (DBusGProxy *
proxy, GPtrArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_chan_type_text_list_pending_messages_reply) (DBusGProxy *
proxy, GPtrArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_chan_type_text_list_pending_messages_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | | tp_chan_type_text_list_pending_messages_async_callback (DBusGProxy *proxy,
DBusGProxyCall *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg1; | |
| 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 (" | |
| GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT | | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT | |
| , G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), &OUT_arg0, G_T | | , G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)), & | |
| YPE_INVALID); | | OUT_arg1, G_TYPE_INVALID); | |
| (*(tp_chan_type_text_list_pending_messages_reply)data->cb) (proxy, OUT_ar | | (*(tp_chan_type_text_list_pending_messages_reply)data->cb) (proxy, OUT_ar | |
| g0, error, data->userdata); | | g1, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_chan_type_text_list_pending_messages_async (DBusGProxy *proxy, tp_chan_t
ype_text_list_pending_messages_reply callback, gpointer userdata) | | tp_chan_type_text_list_pending_messages_async (DBusGProxy *proxy, const gbo
olean IN_clear, tp_chan_type_text_list_pending_messages_reply callback, gpo
inter userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "ListPendingMessages", tp_chan_typ
e_text_list_pending_messages_async_callback, stuff, _dbus_glib_async_data_f
ree, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListPendingMessages", tp_chan_typ
e_text_list_pending_messages_async_callback, stuff, _dbus_glib_async_data_f
ree, G_TYPE_BOOLEAN, IN_clear, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_chan_type_text_send (DBusGProxy *proxy, const guint IN_type, const char
* IN_text, GError **error) | | tp_chan_type_text_send (DBusGProxy *proxy, const guint IN_type, const char
* IN_text, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Send", error, G_TYPE_UINT, IN_type, G_T
YPE_STRING, IN_text, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "Send", error, G_TYPE_UINT, IN_type, G_T
YPE_STRING, IN_text, G_TYPE_INVALID, G_TYPE_INVALID); | |
| | | | |
End of changes. 13 change blocks. |
| 19 lines changed or deleted | | 19 lines changed or added | |
|
| tp-conn-gen.h | | tp-conn-gen.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #endif | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| | | tp_conn_connect (DBusGProxy *proxy, GError **error) | |
| | | | |
| | | { | |
| | | return dbus_g_proxy_call (proxy, "Connect", error, G_TYPE_INVALID, G_TYPE | |
| | | _INVALID); | |
| | | } | |
| | | | |
| | | typedef void (*tp_conn_connect_reply) (DBusGProxy *proxy, GError *error, gp | |
| | | ointer userdata); | |
| | | | |
| | | static void | |
| | | tp_conn_connect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, vo | |
| | | id *user_data) | |
| | | { | |
| | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| | | GError *error = NULL; | |
| | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| | | (*(tp_conn_connect_reply)data->cb) (proxy, error, data->userdata); | |
| | | return; | |
| | | } | |
| | | | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | DBusGProxyCall* | |
| | | tp_conn_connect_async (DBusGProxy *proxy, tp_conn_connect_reply callback, g | |
| | | pointer userdata) | |
| | | | |
| | | { | |
| | | DBusGAsyncData *stuff; | |
| | | stuff = g_slice_new (DBusGAsyncData); | |
| | | stuff->cb = G_CALLBACK (callback); | |
| | | stuff->userdata = userdata; | |
| | | return dbus_g_proxy_begin_call (proxy, "Connect", tp_conn_connect_async_c | |
| | | allback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | |
| | | } | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | gboolean | |
| tp_conn_disconnect (DBusGProxy *proxy, GError **error) | | tp_conn_disconnect (DBusGProxy *proxy, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "Disconnect", error, G_TYPE_INVALID, G_T
YPE_INVALID); | | return dbus_g_proxy_call (proxy, "Disconnect", error, G_TYPE_INVALID, G_T
YPE_INVALID); | |
| } | | } | |
| | | | |
| typedef void (*tp_conn_disconnect_reply) (DBusGProxy *proxy, GError *error,
gpointer userdata); | | typedef void (*tp_conn_disconnect_reply) (DBusGProxy *proxy, GError *error,
gpointer userdata); | |
| | | | |
| static void | | static void | |
| tp_conn_disconnect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | | tp_conn_disconnect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call,
void *user_data) | |
| | | | |
| skipping to change at line 218 | | skipping to change at line 255 | |
| 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, "GetStatus", tp_conn_get_status_as
ync_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetStatus", tp_conn_get_status_as
ync_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_conn_hold_handle (DBusGProxy *proxy, const guint IN_handle_type, const g
uint IN_handle, GError **error) | | tp_conn_hold_handles (DBusGProxy *proxy, const guint IN_handle_type, const
GArray* IN_handles, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "HoldHandle", error, G_TYPE_UINT, IN_han
dle_type, G_TYPE_UINT, IN_handle, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "HoldHandles", error, G_TYPE_UINT, IN_ha
ndle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles,
G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_conn_hold_handle_reply) (DBusGProxy *proxy, GError *error
, gpointer userdata); | | typedef void (*tp_conn_hold_handles_reply) (DBusGProxy *proxy, GError *erro
r, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_conn_hold_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *call
, void *user_data) | | tp_conn_hold_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *cal
l, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
|
| (*(tp_conn_hold_handle_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_conn_hold_handles_reply)data->cb) (proxy, error, data->userdata); | |
| return; | | | |
| } | | | |
| | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| DBusGProxyCall* | | | |
| tp_conn_hold_handle_async (DBusGProxy *proxy, const guint IN_handle_type, c | | | |
| onst guint IN_handle, tp_conn_hold_handle_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, "HoldHandle", tp_conn_hold_handle_ | | | |
| async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_handle_t | | | |
| ype, G_TYPE_UINT, IN_handle, G_TYPE_INVALID); | | | |
| } | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| gboolean | | | |
| tp_conn_inspect_handle (DBusGProxy *proxy, const guint IN_handle_type, cons | | | |
| t guint IN_handle, char ** OUT_arg2, GError **error) | | | |
| | | | |
| { | | | |
| return dbus_g_proxy_call (proxy, "InspectHandle", error, G_TYPE_UINT, IN_ | | | |
| handle_type, G_TYPE_UINT, IN_handle, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg | | | |
| 2, G_TYPE_INVALID); | | | |
| } | | | |
| | | | |
| typedef void (*tp_conn_inspect_handle_reply) (DBusGProxy *proxy, char * OUT | | | |
| _arg2, GError *error, gpointer userdata); | | | |
| | | | |
| static void | | | |
| tp_conn_inspect_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *c | | | |
| all, void *user_data) | | | |
| { | | | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | | |
| GError *error = NULL; | | | |
| char * OUT_arg2; | | | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, G_T | | | |
| YPE_INVALID); | | | |
| (*(tp_conn_inspect_handle_reply)data->cb) (proxy, OUT_arg2, error, data-> | | | |
| userdata); | | | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_conn_inspect_handle_async (DBusGProxy *proxy, const guint IN_handle_type
, const guint IN_handle, tp_conn_inspect_handle_reply callback, gpointer us
erdata) | | tp_conn_hold_handles_async (DBusGProxy *proxy, const guint IN_handle_type,
const GArray* IN_handles, tp_conn_hold_handles_reply callback, gpointer use
rdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "InspectHandle", tp_conn_inspect_h
andle_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_ha
ndle_type, G_TYPE_UINT, IN_handle, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "HoldHandles", tp_conn_hold_handle
s_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_handle
_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TY
PE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_inspect_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, char *** OUT_arg2, GError **error) | | tp_conn_inspect_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, char *** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "InspectHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg2, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "InspectHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg2, G_TYPE_INVALID); | |
| | | | |
| skipping to change at line 369 | | skipping to change at line 368 | |
| 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, "ListChannels", tp_conn_list_chann
els_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListChannels", tp_conn_list_chann
els_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_conn_release_handle (DBusGProxy *proxy, const guint IN_handle_type, cons
t guint IN_handle, GError **error) | | tp_conn_release_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st GArray* IN_handles, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "ReleaseHandle", error, G_TYPE_UINT, IN_
handle_type, G_TYPE_UINT, IN_handle, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ReleaseHandles", error, G_TYPE_UINT, IN
_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handle
s, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_conn_release_handle_reply) (DBusGProxy *proxy, GError *er
ror, gpointer userdata); | | typedef void (*tp_conn_release_handles_reply) (DBusGProxy *proxy, GError *e
rror, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_conn_release_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | | tp_conn_release_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
|
| (*(tp_conn_release_handle_reply)data->cb) (proxy, error, data->userdata); | | (*(tp_conn_release_handles_reply)data->cb) (proxy, error, data->userdata)
; | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_conn_release_handle_async (DBusGProxy *proxy, const guint IN_handle_type
, const guint IN_handle, tp_conn_release_handle_reply callback, gpointer us
erdata) | | tp_conn_release_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const GArray* IN_handles, tp_conn_release_handles_reply callback, gpoint
er userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "ReleaseHandle", tp_conn_release_h
andle_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_ha
ndle_type, G_TYPE_UINT, IN_handle, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ReleaseHandles", tp_conn_release_
handles_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_
handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles
, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
| tp_conn_request_channel (DBusGProxy *proxy, const char * IN_type, const gui
nt IN_handle_type, const guint IN_handle, const gboolean IN_suppress_handle
r, char** OUT_arg4, GError **error) | | tp_conn_request_channel (DBusGProxy *proxy, const char * IN_type, const gui
nt IN_handle_type, const guint IN_handle, const gboolean IN_suppress_handle
r, char** OUT_arg4, GError **error) | |
| | | | |
| { | | { | |
| return dbus_g_proxy_call (proxy, "RequestChannel", error, G_TYPE_STRING,
IN_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEA
N, IN_suppress_handler, G_TYPE_INVALID, DBUS_TYPE_G_OBJECT_PATH, OUT_arg4,
G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestChannel", error, G_TYPE_STRING,
IN_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEA
N, IN_suppress_handler, G_TYPE_INVALID, DBUS_TYPE_G_OBJECT_PATH, OUT_arg4,
G_TYPE_INVALID); | |
| | | | |
| skipping to change at line 444 | | skipping to change at line 443 | |
| 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, "RequestChannel", tp_conn_request_
channel_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING, I
N_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN
, IN_suppress_handler, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestChannel", tp_conn_request_
channel_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING, I
N_type, G_TYPE_UINT, IN_handle_type, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN
, IN_suppress_handler, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_conn_request_handle (DBusGProxy *proxy, const guint IN_handle_type, cons
t char * IN_name, guint* OUT_arg2, GError **error) | | tp_conn_request_handles (DBusGProxy *proxy, const guint IN_handle_type, con
st char ** IN_names, GArray** OUT_arg2, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "RequestHandle", error, G_TYPE_UINT, IN_
handle_type, G_TYPE_STRING, IN_name, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg2,
G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestHandles", error, G_TYPE_UINT, IN
_handle_type, G_TYPE_STRV, IN_names, G_TYPE_INVALID, dbus_g_type_get_collec
tion ("GArray", G_TYPE_UINT), OUT_arg2, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_conn_request_handle_reply) (DBusGProxy *proxy, guint OUT_
arg2, GError *error, gpointer userdata); | | typedef void (*tp_conn_request_handles_reply) (DBusGProxy *proxy, GArray *O
UT_arg2, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_conn_request_handle_async_callback (DBusGProxy *proxy, DBusGProxyCall *c
all, void *user_data) | | tp_conn_request_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *
call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| guint OUT_arg2; | | GArray* OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg2, G_TYP | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | |
| E_INVALID); | | GArray", G_TYPE_UINT), &OUT_arg2, G_TYPE_INVALID); | |
| (*(tp_conn_request_handle_reply)data->cb) (proxy, OUT_arg2, error, data-> | | (*(tp_conn_request_handles_reply)data->cb) (proxy, OUT_arg2, error, data- | |
| userdata); | | >userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_conn_request_handle_async (DBusGProxy *proxy, const guint IN_handle_type
, const char * IN_name, tp_conn_request_handle_reply callback, gpointer use
rdata) | | tp_conn_request_handles_async (DBusGProxy *proxy, const guint IN_handle_typ
e, const char ** IN_names, tp_conn_request_handles_reply callback, gpointer
userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "RequestHandle", tp_conn_request_h
andle_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_ha
ndle_type, G_TYPE_STRING, IN_name, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "RequestHandles", tp_conn_request_
handles_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_
handle_type, G_TYPE_STRV, IN_names, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ction */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 22 change blocks. |
| 74 lines changed or deleted | | 67 lines changed or added | |
|
| tp-connmgr-gen.h | | tp-connmgr-gen.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #endif | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_ConnectionManag
er | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_connmgr_connect (DBusGProxy *proxy, const char * IN_proto, const GHashTa | | tp_connmgr_get_parameters (DBusGProxy *proxy, const char * IN_proto, GPtrAr | |
| ble* IN_parameters, char ** OUT_arg2, char** OUT_arg3, GError **error) | | ray** OUT_arg1, GError **error) | |
| | | | |
| { | | | |
| return dbus_g_proxy_call (proxy, "Connect", error, G_TYPE_STRING, IN_prot | | | |
| o, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_para | | | |
| meters, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg2, DBUS_TYPE_G_OBJECT_PATH, O | | | |
| UT_arg3, G_TYPE_INVALID); | | | |
| } | | | |
| | | | |
| typedef void (*tp_connmgr_connect_reply) (DBusGProxy *proxy, char * OUT_arg | | | |
| 2, char *OUT_arg3, GError *error, gpointer userdata); | | | |
| | | | |
| static void | | | |
| tp_connmgr_connect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, | | | |
| void *user_data) | | | |
| { | | | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | | |
| GError *error = NULL; | | | |
| char * OUT_arg2; | | | |
| char* OUT_arg3; | | | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, DBU | | | |
| S_TYPE_G_OBJECT_PATH, &OUT_arg3, G_TYPE_INVALID); | | | |
| (*(tp_connmgr_connect_reply)data->cb) (proxy, OUT_arg2, OUT_arg3, error, | | | |
| data->userdata); | | | |
| return; | | | |
| } | | | |
| | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| DBusGProxyCall* | | | |
| tp_connmgr_connect_async (DBusGProxy *proxy, const char * IN_proto, const G | | | |
| HashTable* IN_parameters, tp_connmgr_connect_reply callback, gpointer userd | | | |
| ata) | | | |
| | | | |
| { | | | |
| DBusGAsyncData *stuff; | | | |
| stuff = g_slice_new (DBusGAsyncData); | | | |
| stuff->cb = G_CALLBACK (callback); | | | |
| stuff->userdata = userdata; | | | |
| return dbus_g_proxy_begin_call (proxy, "Connect", tp_connmgr_connect_asyn | | | |
| c_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING, IN_proto, dbu | | | |
| s_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), IN_parameters | | | |
| , G_TYPE_INVALID); | | | |
| } | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| gboolean | | | |
| tp_connmgr_get_mandatory_parameters (DBusGProxy *proxy, const char * IN_pro | | | |
| to, GHashTable** OUT_arg1, GError **error) | | | |
| | | | |
| { | | | |
| return dbus_g_proxy_call (proxy, "GetMandatoryParameters", error, G_TYPE_ | | | |
| STRING, IN_proto, G_TYPE_INVALID, dbus_g_type_get_map ("GHashTable", G_TYPE | | | |
| _STRING, G_TYPE_STRING), OUT_arg1, G_TYPE_INVALID); | | | |
| } | | | |
| | | | |
| typedef void (*tp_connmgr_get_mandatory_parameters_reply) (DBusGProxy *prox | | | |
| y, GHashTable *OUT_arg1, GError *error, gpointer userdata); | | | |
| | | | |
| static void | | | |
| tp_connmgr_get_mandatory_parameters_async_callback (DBusGProxy *proxy, DBus | | | |
| GProxyCall *call, void *user_data) | | | |
| { | | | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | | |
| GError *error = NULL; | | | |
| GHashTable* OUT_arg1; | | | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa | | | |
| ble", G_TYPE_STRING, G_TYPE_STRING), &OUT_arg1, G_TYPE_INVALID); | | | |
| (*(tp_connmgr_get_mandatory_parameters_reply)data->cb) (proxy, OUT_arg1, | | | |
| error, data->userdata); | | | |
| return; | | | |
| } | | | |
| | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| DBusGProxyCall* | | | |
| tp_connmgr_get_mandatory_parameters_async (DBusGProxy *proxy, const char * | | | |
| IN_proto, tp_connmgr_get_mandatory_parameters_reply callback, gpointer user | | | |
| data) | | | |
| | | | |
| { | | | |
| DBusGAsyncData *stuff; | | | |
| stuff = g_slice_new (DBusGAsyncData); | | | |
| stuff->cb = G_CALLBACK (callback); | | | |
| stuff->userdata = userdata; | | | |
| return dbus_g_proxy_begin_call (proxy, "GetMandatoryParameters", tp_connm | | | |
| gr_get_mandatory_parameters_async_callback, stuff, _dbus_glib_async_data_fr | | | |
| ee, G_TYPE_STRING, IN_proto, G_TYPE_INVALID); | | | |
| } | | | |
| static | | | |
| #ifdef G_HAVE_INLINE | | | |
| inline | | | |
| #endif | | | |
| gboolean | | | |
| tp_connmgr_get_optional_parameters (DBusGProxy *proxy, const char * IN_prot | | | |
| o, GHashTable** OUT_arg1, GError **error) | | | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "GetOptionalParameters", error, G_TYPE_S
TRING, IN_proto, G_TYPE_INVALID, dbus_g_type_get_map ("GHashTable", G_TYPE_
STRING, G_TYPE_STRING), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetParameters", error, G_TYPE_STRING, I
N_proto, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", dbus_g_ty
pe_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_STRING, G_
TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_connmgr_get_optional_parameters_reply) (DBusGProxy *proxy
, GHashTable *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_get_parameters_reply) (DBusGProxy *proxy, GPtrArr
ay *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_connmgr_get_optional_parameters_async_callback (DBusGProxy *proxy, DBusG
ProxyCall *call, void *user_data) | | tp_connmgr_get_parameters_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| GHashTable* OUT_arg1; | | GPtrArray* OUT_arg1; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | |
| ble", G_TYPE_STRING, G_TYPE_STRING), &OUT_arg1, G_TYPE_INVALID); | | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, G_TYPE_UI | |
| (*(tp_connmgr_get_optional_parameters_reply)data->cb) (proxy, OUT_arg1, e | | NT, G_TYPE_STRING, G_TYPE_VALUE, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALI | |
| rror, data->userdata); | | D); | |
| | | (*(tp_connmgr_get_parameters_reply)data->cb) (proxy, OUT_arg1, error, dat | |
| | | a->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_connmgr_get_optional_parameters_async (DBusGProxy *proxy, const char * I
N_proto, tp_connmgr_get_optional_parameters_reply callback, gpointer userda
ta) | | tp_connmgr_get_parameters_async (DBusGProxy *proxy, const char * IN_proto,
tp_connmgr_get_parameters_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "GetOptionalParameters", tp_connmg
r_get_optional_parameters_async_callback, stuff, _dbus_glib_async_data_free
, G_TYPE_STRING, IN_proto, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "GetParameters", tp_connmgr_get_pa
rameters_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING,
IN_proto, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_connmgr_get_parameter_defaults (DBusGProxy *proxy, const char * IN_proto
, GHashTable** OUT_arg1, GError **error) | | tp_connmgr_list_protocols (DBusGProxy *proxy, char *** OUT_arg0, GError **e
rror) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "GetParameterDefaults", error, G_TYPE_ST
RING, IN_proto, G_TYPE_INVALID, dbus_g_type_get_map ("GHashTable", G_TYPE_S
TRING, G_TYPE_VALUE), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "ListProtocols", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_connmgr_get_parameter_defaults_reply) (DBusGProxy *proxy,
GHashTable *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_list_protocols_reply) (DBusGProxy *proxy, char *
*OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_connmgr_get_parameter_defaults_async_callback (DBusGProxy *proxy, DBusGP
roxyCall *call, void *user_data) | | tp_connmgr_list_protocols_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| GHashTable* OUT_arg1; | | char ** OUT_arg0; | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTa | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP | |
| ble", G_TYPE_STRING, G_TYPE_VALUE), &OUT_arg1, G_TYPE_INVALID); | | E_INVALID); | |
| (*(tp_connmgr_get_parameter_defaults_reply)data->cb) (proxy, OUT_arg1, er | | (*(tp_connmgr_list_protocols_reply)data->cb) (proxy, OUT_arg0, error, dat | |
| ror, data->userdata); | | a->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_connmgr_get_parameter_defaults_async (DBusGProxy *proxy, const char * IN
_proto, tp_connmgr_get_parameter_defaults_reply callback, gpointer userdata
) | | tp_connmgr_list_protocols_async (DBusGProxy *proxy, tp_connmgr_list_protoco
ls_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "GetParameterDefaults", tp_connmgr
_get_parameter_defaults_async_callback, stuff, _dbus_glib_async_data_free,
G_TYPE_STRING, IN_proto, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListProtocols", tp_connmgr_list_p
rotocols_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_connmgr_list_protocols (DBusGProxy *proxy, char *** OUT_arg0, GError **e
rror) | | tp_connmgr_request_connection (DBusGProxy *proxy, const char * IN_proto, co
nst GHashTable* IN_parameters, char ** OUT_arg2, char** OUT_arg3, GError **
error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "ListProtocols", error, G_TYPE_INVALID,
G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "RequestConnection", error, G_TYPE_STRIN
G, IN_proto, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE
), IN_parameters, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg2, DBUS_TYPE_G_OBJE
CT_PATH, OUT_arg3, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_connmgr_list_protocols_reply) (DBusGProxy *proxy, char *
*OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_connmgr_request_connection_reply) (DBusGProxy *proxy, cha
r * OUT_arg2, char *OUT_arg3, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_connmgr_list_protocols_async_callback (DBusGProxy *proxy, DBusGProxyCall
*call, void *user_data) | | tp_connmgr_request_connection_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| char ** OUT_arg0; | | char * OUT_arg2; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYP | | char* OUT_arg3; | |
| E_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, DBU | |
| (*(tp_connmgr_list_protocols_reply)data->cb) (proxy, OUT_arg0, error, dat | | S_TYPE_G_OBJECT_PATH, &OUT_arg3, G_TYPE_INVALID); | |
| a->userdata); | | (*(tp_connmgr_request_connection_reply)data->cb) (proxy, OUT_arg2, OUT_ar | |
| | | g3, error, data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_connmgr_list_protocols_async (DBusGProxy *proxy, tp_connmgr_list_protoco
ls_reply callback, gpointer userdata) | | tp_connmgr_request_connection_async (DBusGProxy *proxy, const char * IN_pro
to, const GHashTable* IN_parameters, tp_connmgr_request_connection_reply ca
llback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "ListProtocols", tp_connmgr_list_p
rotocols_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID)
; | | return dbus_g_proxy_begin_call (proxy, "RequestConnection", tp_connmgr_re
quest_connection_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_
STRING, IN_proto, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_
VALUE), IN_parameters, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ctionManager */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Conne
ctionManager */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 21 change blocks. |
| 135 lines changed or deleted | | 37 lines changed or added | |
|
| tp-ifaces-signals-marshal.h | | tp-ifaces-signals-marshal.h | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT (GClosure *c
losure, | | extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT (GClosure *c
losure, | |
| GValue *r
eturn_value, | | GValue *r
eturn_value, | |
| guint n
_param_values, | | guint n
_param_values, | |
| const GValue *p
aram_values, | | const GValue *p
aram_values, | |
| gpointer i
nvocation_hint, | | gpointer i
nvocation_hint, | |
| gpointer m
arshal_data); | | gpointer m
arshal_data); | |
| | | | |
| /* VOID:BOOLEAN (tp-ifaces-signals-marshal.list:19) */ | | /* VOID:BOOLEAN (tp-ifaces-signals-marshal.list:19) */ | |
| #define tp_ifaces_signals_marshal_VOID__BOOLEAN g_cclosure_marshal_V
OID__BOOLEAN | | #define tp_ifaces_signals_marshal_VOID__BOOLEAN g_cclosure_marshal_V
OID__BOOLEAN | |
| | | | |
|
| /* VOID:UINT,UINT,UINT,UINT,STRING (tp-ifaces-signals-marshal.list:21) */ | | /* VOID:UINT,UINT,UINT,UINT,UINT,STRING (tp-ifaces-signals-marshal.list:21) | |
| extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT_UINT_STRING (GCl | | */ | |
| osure *closure, | | extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT_UINT_UINT_STRING | |
| GVa | | (GClosure *closure, | |
| lue *return_value, | | | |
| gui | | GValue *return_value, | |
| nt n_param_values, | | | |
| con | | guint n_param_values, | |
| st GValue *param_values, | | | |
| gpo | | const GValue *param_values, | |
| inter invocation_hint, | | | |
| gpo | | gpointer invocation_hint, | |
| inter marshal_data); | | | |
| | | gpointer marshal_data); | |
| | | | |
| /* VOID:UINT,UINT,STRING (tp-ifaces-signals-marshal.list:23) */ | | /* VOID:UINT,UINT,STRING (tp-ifaces-signals-marshal.list:23) */ | |
| extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_STRING (GClosure
*closure, | | extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_STRING (GClosure
*closure, | |
| GValue
*return_value, | | GValue
*return_value, | |
| guint
n_param_values, | | guint
n_param_values, | |
| const GValue
*param_values, | | const GValue
*param_values, | |
| gpointer
invocation_hint, | | gpointer
invocation_hint, | |
| gpointer
marshal_data); | | gpointer
marshal_data); | |
| | | | |
| /* VOID:UINT,UINT (tp-ifaces-signals-marshal.list:27) */ | | /* VOID:UINT,UINT (tp-ifaces-signals-marshal.list:27) */ | |
| extern void tp_ifaces_signals_marshal_VOID__UINT_UINT (GClosure *closur
e, | | extern void tp_ifaces_signals_marshal_VOID__UINT_UINT (GClosure *closur
e, | |
| GValue *return
_value, | | GValue *return
_value, | |
| guint n_para
m_values, | | guint n_para
m_values, | |
| const GValue *param_
values, | | const GValue *param_
values, | |
| gpointer invoca
tion_hint, | | gpointer invoca
tion_hint, | |
| gpointer marsha
l_data); | | gpointer marsha
l_data); | |
| | | | |
|
| /* VOID:STRING,BOXED,BOXED,BOXED,BOXED (tp-ifaces-signals-marshal.list:29) | | /* VOID:STRING,BOXED,BOXED,BOXED,BOXED,UINT,UINT (tp-ifaces-signals-marshal | |
| */ | | .list:29) */ | |
| extern void tp_ifaces_signals_marshal_VOID__STRING_BOXED_BOXED_BOXED_BOXED | | extern void tp_ifaces_signals_marshal_VOID__STRING_BOXED_BOXED_BOXED_BOXED_ | |
| (GClosure *closure, | | UINT_UINT (GClosure *closure, | |
| | | | |
| GValue *return_value, | | GValue *return_value, | |
| | | | |
| guint n_param_values, | | guint n_param_values, | |
| | | | |
| const GValue *param_values, | | const GValue *param_values, | |
| | | | |
| gpointer invocation_hint, | | gpointer invocation_hint, | |
| | | | |
| gpointer marshal_data); | | gpointer marshal_data); | |
| | | | |
| /* VOID:STRING,BOXED (tp-ifaces-signals-marshal.list:31) */ | | | |
| extern void tp_ifaces_signals_marshal_VOID__STRING_BOXED (GClosure *clo | | | |
| sure, | | | |
| GValue *ret | | | |
| urn_value, | | | |
| guint n_p | | | |
| aram_values, | | | |
| const GValue *par | | | |
| am_values, | | | |
| gpointer inv | | | |
| ocation_hint, | | | |
| gpointer mar | | | |
| shal_data); | | | |
| | | | |
| /* VOID:BOXED (tp-ifaces-signals-marshal.list:33) */ | | /* VOID:BOXED (tp-ifaces-signals-marshal.list:33) */ | |
| #define tp_ifaces_signals_marshal_VOID__BOXED g_cclosure_marshal_VOID__BOX
ED | | #define tp_ifaces_signals_marshal_VOID__BOXED g_cclosure_marshal_VOID__BOX
ED | |
| | | | |
| /* VOID:UINT,UINT,UINT,STRING (tp-ifaces-signals-marshal.list:35) */ | | /* VOID:UINT,UINT,UINT,STRING (tp-ifaces-signals-marshal.list:35) */ | |
| extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT_STRING (GClosure
*closure, | | extern void tp_ifaces_signals_marshal_VOID__UINT_UINT_UINT_STRING (GClosure
*closure, | |
| GValue
*return_value, | | GValue
*return_value, | |
| guint
n_param_values, | | guint
n_param_values, | |
| const GV
alue *param_values, | | const GV
alue *param_values, | |
| gpointer
invocation_hint, | | gpointer
invocation_hint, | |
| gpointer
marshal_data); | | gpointer
marshal_data); | |
| | | | |
|
| | | /* VOID:OBJECT,STRING (tp-ifaces-signals-marshal.list:37) */ | |
| | | extern void tp_ifaces_signals_marshal_VOID__OBJECT_STRING (GClosure *cl | |
| | | osure, | |
| | | GValue *re | |
| | | turn_value, | |
| | | guint n_ | |
| | | param_values, | |
| | | const GValue *pa | |
| | | ram_values, | |
| | | gpointer in | |
| | | vocation_hint, | |
| | | gpointer ma | |
| | | rshal_data); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __tp_ifaces_signals_marshal_MARSHAL_H__ */ | | #endif /* __tp_ifaces_signals_marshal_MARSHAL_H__ */ | |
| | | | |
End of changes. 3 change blocks. |
| 41 lines changed or deleted | | 42 lines changed or added | |
|
| tp-props-iface-gen.h | | tp-props-iface-gen.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #endif | | #endif | |
| | | | |
| #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Properties | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_props_iface_list_properties (DBusGProxy *proxy, GPtrArray** OUT_arg0, GE
rror **error) | | tp_props_iface_get_properties (DBusGProxy *proxy, const GArray* IN_properti
es, GPtrArray** OUT_arg1, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "ListProperties", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueAr
ray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALI
D)), OUT_arg0, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "GetProperties", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_props_iface_list_properties_reply) (DBusGProxy *proxy, GP
trArray *OUT_arg0, GError *error, gpointer userdata); | | typedef void (*tp_props_iface_get_properties_reply) (DBusGProxy *proxy, GPt
rArray *OUT_arg1, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_props_iface_list_properties_async_callback (DBusGProxy *proxy, DBusGProx
yCall *call, void *user_data) | | tp_props_iface_get_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| GPtrArray* OUT_arg0; | | GPtrArray* OUT_arg1; | |
| 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 (" | |
| GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI | | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALU | |
| NG, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID | | E, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | |
| ); | | (*(tp_props_iface_get_properties_reply)data->cb) (proxy, OUT_arg1, error, | |
| (*(tp_props_iface_list_properties_reply)data->cb) (proxy, OUT_arg0, error | | data->userdata); | |
| , data->userdata); | | | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_props_iface_list_properties_async (DBusGProxy *proxy, tp_props_iface_lis
t_properties_reply callback, gpointer userdata) | | tp_props_iface_get_properties_async (DBusGProxy *proxy, const GArray* IN_pr
operties, tp_props_iface_get_properties_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "ListProperties", tp_props_iface_l
ist_properties_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_IN
VALID); | | return dbus_g_proxy_begin_call (proxy, "GetProperties", tp_props_iface_ge
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_props_iface_set_properties (DBusGProxy *proxy, const GPtrArray* IN_prope
rties, GError **error) | | tp_props_iface_list_properties (DBusGProxy *proxy, GPtrArray** OUT_arg0, GE
rror **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "SetProperties", error, dbus_g_type_get_
collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT
, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID, G_TYPE_INV
ALID); | | return dbus_g_proxy_call (proxy, "ListProperties", error, G_TYPE_INVALID,
dbus_g_type_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueAr
ray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALI
D)), OUT_arg0, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_props_iface_set_properties_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | | typedef void (*tp_props_iface_list_properties_reply) (DBusGProxy *proxy, GP
trArray *OUT_arg0, GError *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_props_iface_set_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_props_iface_list_properties_async_callback (DBusGProxy *proxy, DBusGProx
yCall *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | GPtrArray* OUT_arg0; | |
| (*(tp_props_iface_set_properties_reply)data->cb) (proxy, error, data->use | | dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | |
| rdata); | | GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRI | |
| | | NG, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INVALID)), &OUT_arg0, G_TYPE_INVALID | |
| | | ); | |
| | | (*(tp_props_iface_list_properties_reply)data->cb) (proxy, OUT_arg0, error | |
| | | , data->userdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_props_iface_set_properties_async (DBusGProxy *proxy, const GPtrArray* IN
_properties, tp_props_iface_set_properties_reply callback, gpointer userdat
a) | | tp_props_iface_list_properties_async (DBusGProxy *proxy, tp_props_iface_lis
t_properties_reply callback, gpointer userdata) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "SetProperties", tp_props_iface_se
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE
_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "ListProperties", tp_props_iface_l
ist_properties_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_IN
VALID); | |
| } | | } | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_props_iface_get_properties (DBusGProxy *proxy, const GArray* IN_properti
es, GPtrArray** OUT_arg1, GError **error) | | tp_props_iface_set_properties (DBusGProxy *proxy, const GPtrArray* IN_prope
rties, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "GetProperties", error, dbus_g_type_get_
collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID, dbus_g_t
ype_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_T
YPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), OUT_arg1, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "SetProperties", error, dbus_g_type_get_
collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT
, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID, G_TYPE_INV
ALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_props_iface_get_properties_reply) (DBusGProxy *proxy, GPt
rArray *OUT_arg1, GError *error, gpointer userdata); | | typedef void (*tp_props_iface_set_properties_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_props_iface_get_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_props_iface_set_properties_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | |
| { | | { | |
| DBusGAsyncData *data = (DBusGAsyncData*) user_data; | | DBusGAsyncData *data = (DBusGAsyncData*) user_data; | |
| GError *error = NULL; | | GError *error = NULL; | |
|
| GPtrArray* OUT_arg1; | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
| dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection (" | | (*(tp_props_iface_set_properties_reply)data->cb) (proxy, error, data->use | |
| GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALU | | rdata); | |
| E, G_TYPE_INVALID)), &OUT_arg1, G_TYPE_INVALID); | | | |
| (*(tp_props_iface_get_properties_reply)data->cb) (proxy, OUT_arg1, error, | | | |
| data->userdata); | | | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_props_iface_get_properties_async (DBusGProxy *proxy, const GArray* IN_pr
operties, tp_props_iface_get_properties_reply callback, gpointer userdata) | | tp_props_iface_set_properties_async (DBusGProxy *proxy, const GPtrArray* IN
_properties, tp_props_iface_set_properties_reply callback, gpointer userdat
a) | |
| | | | |
| { | | { | |
| DBusGAsyncData *stuff; | | DBusGAsyncData *stuff; | |
| 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, "GetProperties", tp_props_iface_ge
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GArray", G_TYPE_UINT), IN_properties, G_TYPE_INVALID); | | return dbus_g_proxy_begin_call (proxy, "SetProperties", tp_props_iface_se
t_properties_async_callback, stuff, _dbus_glib_async_data_free, dbus_g_type
_get_collection ("GPtrArray", dbus_g_type_get_struct ("GValueArray", G_TYPE
_UINT, G_TYPE_VALUE, G_TYPE_INVALID)), IN_properties, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Prope
rties */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Prope
rties */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 21 change blocks. |
| 34 lines changed or deleted | | 34 lines changed or added | |
|