| tp-chan-iface-dtmf-gen.h | | tp-chan-iface-dtmf-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_Interfa
ce_DTMF | | #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_DTMF | |
| #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_DTMF | | #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Channel_Interfa
ce_DTMF | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| gboolean | | gboolean | |
|
| tp_chan_iface_dtmf_send_dt_mf (DBusGProxy *proxy, const guint IN_signal, co
nst guint IN_duration, GError **error) | | tp_chan_iface_dtmf_start_tone (DBusGProxy *proxy, const guint IN_stream_id,
const guint IN_event, GError **error) | |
| | | | |
| { | | { | |
|
| return dbus_g_proxy_call (proxy, "SendDTMF", error, G_TYPE_UINT, IN_signa
l, G_TYPE_UINT, IN_duration, G_TYPE_INVALID, G_TYPE_INVALID); | | return dbus_g_proxy_call (proxy, "StartTone", error, G_TYPE_UINT, IN_stre
am_id, G_TYPE_UINT, IN_event, G_TYPE_INVALID, G_TYPE_INVALID); | |
| } | | } | |
| | | | |
|
| typedef void (*tp_chan_iface_dtmf_send_dt_mf_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | | typedef void (*tp_chan_iface_dtmf_start_tone_reply) (DBusGProxy *proxy, GEr
ror *error, gpointer userdata); | |
| | | | |
| static void | | static void | |
|
| tp_chan_iface_dtmf_send_dt_mf_async_callback (DBusGProxy *proxy, DBusGProxy
Call *call, void *user_data) | | tp_chan_iface_dtmf_start_tone_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; | |
| dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | | dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | |
|
| (*(tp_chan_iface_dtmf_send_dt_mf_reply)data->cb) (proxy, error, data->use
rdata); | | (*(tp_chan_iface_dtmf_start_tone_reply)data->cb) (proxy, error, data->use
rdata); | |
| return; | | return; | |
| } | | } | |
| | | | |
| static | | static | |
| #ifdef G_HAVE_INLINE | | #ifdef G_HAVE_INLINE | |
| inline | | inline | |
| #endif | | #endif | |
| DBusGProxyCall* | | DBusGProxyCall* | |
|
| tp_chan_iface_dtmf_send_dt_mf_async (DBusGProxy *proxy, const guint IN_sign
al, const guint IN_duration, tp_chan_iface_dtmf_send_dt_mf_reply callback,
gpointer userdata) | | tp_chan_iface_dtmf_start_tone_async (DBusGProxy *proxy, const guint IN_stre
am_id, const guint IN_event, tp_chan_iface_dtmf_start_tone_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, "SendDTMF", tp_chan_iface_dtmf_sen | | return dbus_g_proxy_begin_call (proxy, "StartTone", tp_chan_iface_dtmf_st | |
| d_dt_mf_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_ | | art_tone_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN | |
| signal, G_TYPE_UINT, IN_duration, G_TYPE_INVALID); | | _stream_id, G_TYPE_UINT, IN_event, G_TYPE_INVALID); | |
| | | } | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | gboolean | |
| | | tp_chan_iface_dtmf_stop_tone (DBusGProxy *proxy, const guint IN_stream_id, | |
| | | GError **error) | |
| | | | |
| | | { | |
| | | return dbus_g_proxy_call (proxy, "StopTone", error, G_TYPE_UINT, IN_strea | |
| | | m_id, G_TYPE_INVALID, G_TYPE_INVALID); | |
| | | } | |
| | | | |
| | | typedef void (*tp_chan_iface_dtmf_stop_tone_reply) (DBusGProxy *proxy, GErr | |
| | | or *error, gpointer userdata); | |
| | | | |
| | | static void | |
| | | tp_chan_iface_dtmf_stop_tone_async_callback (DBusGProxy *proxy, DBusGProxyC | |
| | | all *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_iface_dtmf_stop_tone_reply)data->cb) (proxy, error, data->user | |
| | | data); | |
| | | return; | |
| | | } | |
| | | | |
| | | static | |
| | | #ifdef G_HAVE_INLINE | |
| | | inline | |
| | | #endif | |
| | | DBusGProxyCall* | |
| | | tp_chan_iface_dtmf_stop_tone_async (DBusGProxy *proxy, const guint IN_strea | |
| | | m_id, tp_chan_iface_dtmf_stop_tone_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, "StopTone", tp_chan_iface_dtmf_sto | |
| | | p_tone_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_s | |
| | | tream_id, G_TYPE_INVALID); | |
| } | | } | |
| #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Interface_DTMF */ | | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann
el_Interface_DTMF */ | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 7 change blocks. |
| 9 lines changed or deleted | | 54 lines changed or added | |
|