_gen-tp-constants.h | _gen-tp-constants.h | |||
---|---|---|---|---|
/* Generated from the Telepathy spec, version 0.15.0 | /* Generated from the Telepathy spec, version 0.15.1 | |||
Copyright (C) 2005, 2006, 2007 Collabora Limited | Copyright (C) 2005, 2006, 2007 Collabora Limited | |||
Copyright (C) 2005, 2006, 2007 Nokia Corporation | Copyright (C) 2005, 2006, 2007 Nokia Corporation | |||
Copyright (C) 2006 INdT | Copyright (C) 2006 INdT | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
skipping to change at line 246 | skipping to change at line 246 | |||
TP_CHANNEL_CHAT_STATE_INACTIVE = 1, | TP_CHANNEL_CHAT_STATE_INACTIVE = 1, | |||
TP_CHANNEL_CHAT_STATE_ACTIVE = 2, | TP_CHANNEL_CHAT_STATE_ACTIVE = 2, | |||
TP_CHANNEL_CHAT_STATE_PAUSED = 3, | TP_CHANNEL_CHAT_STATE_PAUSED = 3, | |||
TP_CHANNEL_CHAT_STATE_COMPOSING = 4, | TP_CHANNEL_CHAT_STATE_COMPOSING = 4, | |||
NUM_TP_CHANNEL_CHAT_STATES | NUM_TP_CHANNEL_CHAT_STATES | |||
} TelepathyChannelChatState; | } TelepathyChannelChatState; | |||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | #ifndef LIBTELEPATHY_DISABLE_DEPRECATED | |||
#define LAST_TP_CHANNEL_CHAT_STATE NUM_TP_CHANNEL_CHAT_STATES | #define LAST_TP_CHANNEL_CHAT_STATE NUM_TP_CHANNEL_CHAT_STATES | |||
#endif | #endif | |||
/* TpDTMFEvent (enum) */ | ||||
typedef enum { | ||||
TP_DTMF_EVENT_DIGIT_0 = 0, | ||||
TP_DTMF_EVENT_DIGIT_1 = 1, | ||||
TP_DTMF_EVENT_DIGIT_2 = 2, | ||||
TP_DTMF_EVENT_DIGIT_3 = 3, | ||||
TP_DTMF_EVENT_DIGIT_4 = 4, | ||||
TP_DTMF_EVENT_DIGIT_5 = 5, | ||||
TP_DTMF_EVENT_DIGIT_6 = 6, | ||||
TP_DTMF_EVENT_DIGIT_7 = 7, | ||||
TP_DTMF_EVENT_DIGIT_8 = 8, | ||||
TP_DTMF_EVENT_DIGIT_9 = 9, | ||||
TP_DTMF_EVENT_ASTERISK = 10, | ||||
TP_DTMF_EVENT_HASH = 11, | ||||
TP_DTMF_EVENT_LETTER_A = 12, | ||||
TP_DTMF_EVENT_LETTER_B = 13, | ||||
TP_DTMF_EVENT_LETTER_C = 14, | ||||
TP_DTMF_EVENT_LETTER_D = 15, | ||||
NUM_TP_DTMF_EVENTS | ||||
} TelepathyDTMFEvent; | ||||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | ||||
#define LAST_TP_DTMF_EVENT NUM_TP_DTMF_EVENTS | ||||
#endif | ||||
/* TpChannelGroupFlags (bitfield/set of flags, 0 for none) */ | /* TpChannelGroupFlags (bitfield/set of flags, 0 for none) */ | |||
typedef enum { | typedef enum { | |||
TP_CHANNEL_GROUP_FLAG_CAN_ADD = 1, | TP_CHANNEL_GROUP_FLAG_CAN_ADD = 1, | |||
TP_CHANNEL_GROUP_FLAG_CAN_REMOVE = 2, | TP_CHANNEL_GROUP_FLAG_CAN_REMOVE = 2, | |||
TP_CHANNEL_GROUP_FLAG_CAN_RESCIND = 4, | TP_CHANNEL_GROUP_FLAG_CAN_RESCIND = 4, | |||
TP_CHANNEL_GROUP_FLAG_MESSAGE_ADD = 8, | TP_CHANNEL_GROUP_FLAG_MESSAGE_ADD = 8, | |||
TP_CHANNEL_GROUP_FLAG_MESSAGE_REMOVE = 16, | TP_CHANNEL_GROUP_FLAG_MESSAGE_REMOVE = 16, | |||
TP_CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT = 32, | TP_CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT = 32, | |||
TP_CHANNEL_GROUP_FLAG_MESSAGE_REJECT = 64, | TP_CHANNEL_GROUP_FLAG_MESSAGE_REJECT = 64, | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 26 lines changed or added | |||
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 | |||