_gen-tp-constants.h | _gen-tp-constants.h | |||
---|---|---|---|---|
/* Generated from the Telepathy spec, version 0.15.3 | /* Generated from the Telepathy spec, version 0.15.4 | |||
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 232 | skipping to change at line 232 | |||
/* TpChannelTextMessageFlags (bitfield/set of flags, 0 for none) */ | /* TpChannelTextMessageFlags (bitfield/set of flags, 0 for none) */ | |||
typedef enum { | typedef enum { | |||
TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED = 1, | TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED = 1, | |||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | #ifndef LIBTELEPATHY_DISABLE_DEPRECATED | |||
LAST_TP_CHANNEL_TEXT_MESSAGE_FLAG = 1 + 1 | LAST_TP_CHANNEL_TEXT_MESSAGE_FLAG = 1 + 1 | |||
#endif | #endif | |||
} TelepathyChannelTextMessageFlags; | } TelepathyChannelTextMessageFlags; | |||
/* TpTubeType (enum) */ | ||||
typedef enum { | ||||
TP_TUBE_TYPE_DBUS = 0, | ||||
NUM_TP_TUBE_TYPES | ||||
} TelepathyTubeType; | ||||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | ||||
#define LAST_TP_TUBE_TYPE NUM_TP_TUBE_TYPES | ||||
#endif | ||||
/* TpTubeState (enum) */ | ||||
typedef enum { | ||||
TP_TUBE_STATE_LOCAL_PENDING = 0, | ||||
TP_TUBE_STATE_REMOTE_PENDING = 1, | ||||
TP_TUBE_STATE_OPEN = 2, | ||||
NUM_TP_TUBE_STATES | ||||
} TelepathyTubeState; | ||||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | ||||
#define LAST_TP_TUBE_STATE NUM_TP_TUBE_STATES | ||||
#endif | ||||
/* TpChannelChatState (enum) */ | /* TpChannelChatState (enum) */ | |||
typedef enum { | typedef enum { | |||
TP_CHANNEL_CHAT_STATE_GONE = 0, | TP_CHANNEL_CHAT_STATE_GONE = 0, | |||
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; | |||
skipping to change at line 284 | skipping to change at line 306 | |||
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, | |||
TP_CHANNEL_GROUP_FLAG_MESSAGE_RESCIND = 128, | TP_CHANNEL_GROUP_FLAG_MESSAGE_RESCIND = 128, | |||
TP_CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES = 256, | TP_CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES = 256, | |||
TP_CHANNEL_GROUP_FLAG_ONLY_ONE_GROUP = 512, | TP_CHANNEL_GROUP_FLAG_ONLY_ONE_GROUP = 512, | |||
TP_CHANNEL_GROUP_FLAG_HANDLE_OWNERS_NOT_AVAILABLE = 1024, | ||||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | #ifndef LIBTELEPATHY_DISABLE_DEPRECATED | |||
LAST_TP_CHANNEL_GROUP_FLAG = 512 + 1 | LAST_TP_CHANNEL_GROUP_FLAG = 1024 + 1 | |||
#endif | #endif | |||
} TelepathyChannelGroupFlags; | } TelepathyChannelGroupFlags; | |||
/* TpChannelGroupChangeReason (enum) */ | /* TpChannelGroupChangeReason (enum) */ | |||
typedef enum { | typedef enum { | |||
TP_CHANNEL_GROUP_CHANGE_REASON_NONE = 0, | TP_CHANNEL_GROUP_CHANGE_REASON_NONE = 0, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE = 1, | TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE = 1, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_KICKED = 2, | TP_CHANNEL_GROUP_CHANGE_REASON_KICKED = 2, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_BUSY = 3, | TP_CHANNEL_GROUP_CHANGE_REASON_BUSY = 3, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_INVITED = 4, | TP_CHANNEL_GROUP_CHANGE_REASON_INVITED = 4, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_BANNED = 5, | TP_CHANNEL_GROUP_CHANGE_REASON_BANNED = 5, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_ERROR = 6, | TP_CHANNEL_GROUP_CHANGE_REASON_ERROR = 6, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT = 7, | TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT = 7, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER = 8, | TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER = 8, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED = 9, | TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED = 9, | |||
TP_CHANNEL_GROUP_CHANGE_REASON_PERMISSION_DENIED = 10, | ||||
NUM_TP_CHANNEL_GROUP_CHANGE_REASONS | NUM_TP_CHANNEL_GROUP_CHANGE_REASONS | |||
} TelepathyChannelGroupChangeReason; | } TelepathyChannelGroupChangeReason; | |||
#ifndef LIBTELEPATHY_DISABLE_DEPRECATED | #ifndef LIBTELEPATHY_DISABLE_DEPRECATED | |||
#define LAST_TP_CHANNEL_GROUP_CHANGE_REASON NUM_TP_CHANNEL_GROUP_CHANGE_REA SONS | #define LAST_TP_CHANNEL_GROUP_CHANGE_REASON NUM_TP_CHANNEL_GROUP_CHANGE_REA SONS | |||
#endif | #endif | |||
/* TpChannelHoldState (enum) */ | /* TpChannelHoldState (enum) */ | |||
typedef enum { | typedef enum { | |||
TP_CHANNEL_HOLD_STATE_NONE = 0, | TP_CHANNEL_HOLD_STATE_NONE = 0, | |||
End of changes. 5 change blocks. | ||||
2 lines changed or deleted | 26 lines changed or added | |||
_gen-tp-interfaces.h | _gen-tp-interfaces.h | |||
---|---|---|---|---|
skipping to change at line 55 | skipping to change at line 55 | |||
#define TP_IFACE_CHANNEL_TYPE_CONTACT_LIST \ | #define TP_IFACE_CHANNEL_TYPE_CONTACT_LIST \ | |||
"org.freedesktop.Telepathy.Channel.Type.ContactList" | "org.freedesktop.Telepathy.Channel.Type.ContactList" | |||
#define TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH \ | #define TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH \ | |||
"org.freedesktop.Telepathy.Channel.Type.ContactSearch" | "org.freedesktop.Telepathy.Channel.Type.ContactSearch" | |||
#define TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA \ | #define TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA \ | |||
"org.freedesktop.Telepathy.Channel.Type.StreamedMedia" | "org.freedesktop.Telepathy.Channel.Type.StreamedMedia" | |||
#define TP_IFACE_CHANNEL_TYPE_ROOM_LIST \ | #define TP_IFACE_CHANNEL_TYPE_ROOM_LIST \ | |||
"org.freedesktop.Telepathy.Channel.Type.RoomList" | "org.freedesktop.Telepathy.Channel.Type.RoomList" | |||
#define TP_IFACE_CHANNEL_TYPE_TEXT \ | #define TP_IFACE_CHANNEL_TYPE_TEXT \ | |||
"org.freedesktop.Telepathy.Channel.Type.Text" | "org.freedesktop.Telepathy.Channel.Type.Text" | |||
#define TP_IFACE_CHANNEL_TYPE_TUBES \ | ||||
"org.freedesktop.Telepathy.Channel.Type.Tubes" | ||||
#define TP_IFACE_CHANNEL_INTERFACE_CHAT_STATE \ | #define TP_IFACE_CHANNEL_INTERFACE_CHAT_STATE \ | |||
"org.freedesktop.Telepathy.Channel.Interface.ChatState" | "org.freedesktop.Telepathy.Channel.Interface.ChatState" | |||
#define TP_IFACE_CHANNEL_INTERFACE_DTMF \ | #define TP_IFACE_CHANNEL_INTERFACE_DTMF \ | |||
"org.freedesktop.Telepathy.Channel.Interface.DTMF" | "org.freedesktop.Telepathy.Channel.Interface.DTMF" | |||
#define TP_IFACE_CHANNEL_INTERFACE_GROUP \ | #define TP_IFACE_CHANNEL_INTERFACE_GROUP \ | |||
"org.freedesktop.Telepathy.Channel.Interface.Group" | "org.freedesktop.Telepathy.Channel.Interface.Group" | |||
#define TP_IFACE_CHANNEL_INTERFACE_HOLD \ | #define TP_IFACE_CHANNEL_INTERFACE_HOLD \ | |||
"org.freedesktop.Telepathy.Channel.Interface.Hold" | "org.freedesktop.Telepathy.Channel.Interface.Hold" | |||
#define TP_IFACE_CHANNEL_INTERFACE_PASSWORD \ | #define TP_IFACE_CHANNEL_INTERFACE_PASSWORD \ | |||
"org.freedesktop.Telepathy.Channel.Interface.Password" | "org.freedesktop.Telepathy.Channel.Interface.Password" | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
tp-chan-iface-group-gen.h | tp-chan-iface-group-gen.h | |||
---|---|---|---|---|
skipping to change at line 404 | skipping to change at line 404 | |||
DBusGProxyCall* | DBusGProxyCall* | |||
tp_chan_iface_group_remove_members_async (DBusGProxy *proxy, const GArray* IN_contacts, const char * IN_message, tp_chan_iface_group_remove_members_re ply callback, gpointer userdata) | tp_chan_iface_group_remove_members_async (DBusGProxy *proxy, const GArray* IN_contacts, const char * IN_message, tp_chan_iface_group_remove_members_re ply 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, "RemoveMembers", tp_chan_iface_gro up_remove_members_async_callback, stuff, _dbus_glib_async_data_free, dbus_g _type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, I N_message, G_TYPE_INVALID); | return dbus_g_proxy_begin_call (proxy, "RemoveMembers", tp_chan_iface_gro up_remove_members_async_callback, stuff, _dbus_glib_async_data_free, dbus_g _type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, I N_message, G_TYPE_INVALID); | |||
} | } | |||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
gboolean | ||||
tp_chan_iface_group_remove_members_with_reason (DBusGProxy *proxy, const GA | ||||
rray* IN_contacts, const char * IN_message, const guint IN_reason, GError * | ||||
*error) | ||||
{ | ||||
return dbus_g_proxy_call (proxy, "RemoveMembersWithReason", error, dbus_g | ||||
_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_STRING, I | ||||
N_message, G_TYPE_UINT, IN_reason, G_TYPE_INVALID, G_TYPE_INVALID); | ||||
} | ||||
typedef void (*tp_chan_iface_group_remove_members_with_reason_reply) (DBusG | ||||
Proxy *proxy, GError *error, gpointer userdata); | ||||
static void | ||||
tp_chan_iface_group_remove_members_with_reason_async_callback (DBusGProxy * | ||||
proxy, 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_iface_group_remove_members_with_reason_reply)data->cb) (proxy, | ||||
error, data->userdata); | ||||
return; | ||||
} | ||||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
DBusGProxyCall* | ||||
tp_chan_iface_group_remove_members_with_reason_async (DBusGProxy *proxy, co | ||||
nst GArray* IN_contacts, const char * IN_message, const guint IN_reason, tp | ||||
_chan_iface_group_remove_members_with_reason_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, "RemoveMembersWithReason", tp_chan | ||||
_iface_group_remove_members_with_reason_async_callback, stuff, _dbus_glib_a | ||||
sync_data_free, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_cont | ||||
acts, G_TYPE_STRING, IN_message, G_TYPE_UINT, IN_reason, G_TYPE_INVALID); | ||||
} | ||||
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann el_Interface_Group */ | #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Chann el_Interface_Group */ | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 50 lines changed or added | |||
tp-conn-iface-avatars-gen.h | tp-conn-iface-avatars-gen.h | |||
---|---|---|---|---|
skipping to change at line 149 | skipping to change at line 149 | |||
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, "RequestAvatar", tp_conn_iface_ava tars_request_avatar_async_callback, stuff, _dbus_glib_async_data_free, G_TY PE_UINT, IN_contact, G_TYPE_INVALID); | return dbus_g_proxy_begin_call (proxy, "RequestAvatar", tp_conn_iface_ava tars_request_avatar_async_callback, stuff, _dbus_glib_async_data_free, G_TY PE_UINT, IN_contact, G_TYPE_INVALID); | |||
} | } | |||
static | static | |||
#ifdef G_HAVE_INLINE | #ifdef G_HAVE_INLINE | |||
inline | inline | |||
#endif | #endif | |||
gboolean | gboolean | |||
tp_conn_iface_avatars_request_avatars (DBusGProxy *proxy, const GArray* IN_ | ||||
contacts, GError **error) | ||||
{ | ||||
return dbus_g_proxy_call (proxy, "RequestAvatars", error, dbus_g_type_get | ||||
_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, G_TYPE_IN | ||||
VALID); | ||||
} | ||||
typedef void (*tp_conn_iface_avatars_request_avatars_reply) (DBusGProxy *pr | ||||
oxy, GError *error, gpointer userdata); | ||||
static void | ||||
tp_conn_iface_avatars_request_avatars_async_callback (DBusGProxy *proxy, DB | ||||
usGProxyCall *call, void *user_data) | ||||
{ | ||||
DBusGAsyncData *data = (DBusGAsyncData*) user_data; | ||||
GError *error = NULL; | ||||
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); | ||||
(*(tp_conn_iface_avatars_request_avatars_reply)data->cb) (proxy, error, d | ||||
ata->userdata); | ||||
return; | ||||
} | ||||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
DBusGProxyCall* | ||||
tp_conn_iface_avatars_request_avatars_async (DBusGProxy *proxy, const GArra | ||||
y* IN_contacts, tp_conn_iface_avatars_request_avatars_reply callback, gpoin | ||||
ter userdata) | ||||
{ | ||||
DBusGAsyncData *stuff; | ||||
stuff = g_slice_new (DBusGAsyncData); | ||||
stuff->cb = G_CALLBACK (callback); | ||||
stuff->userdata = userdata; | ||||
return dbus_g_proxy_begin_call (proxy, "RequestAvatars", tp_conn_iface_av | ||||
atars_request_avatars_async_callback, stuff, _dbus_glib_async_data_free, db | ||||
us_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVAL | ||||
ID); | ||||
} | ||||
static | ||||
#ifdef G_HAVE_INLINE | ||||
inline | ||||
#endif | ||||
gboolean | ||||
tp_conn_iface_avatars_set_avatar (DBusGProxy *proxy, const GArray* IN_avata r, const char * IN_mime_type, char ** OUT_arg2, GError **error) | tp_conn_iface_avatars_set_avatar (DBusGProxy *proxy, const GArray* IN_avata r, const char * IN_mime_type, char ** OUT_arg2, GError **error) | |||
{ | { | |||
return dbus_g_proxy_call (proxy, "SetAvatar", error, dbus_g_type_get_coll ection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_ TYPE_INVALID, G_TYPE_STRING, OUT_arg2, G_TYPE_INVALID); | return dbus_g_proxy_call (proxy, "SetAvatar", error, dbus_g_type_get_coll ection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_ TYPE_INVALID, G_TYPE_STRING, OUT_arg2, G_TYPE_INVALID); | |||
} | } | |||
typedef void (*tp_conn_iface_avatars_set_avatar_reply) (DBusGProxy *proxy, char * OUT_arg2, GError *error, gpointer userdata); | typedef void (*tp_conn_iface_avatars_set_avatar_reply) (DBusGProxy *proxy, char * OUT_arg2, GError *error, gpointer userdata); | |||
static void | static void | |||
tp_conn_iface_avatars_set_avatar_async_callback (DBusGProxy *proxy, DBusGPr oxyCall *call, void *user_data) | tp_conn_iface_avatars_set_avatar_async_callback (DBusGProxy *proxy, DBusGPr oxyCall *call, void *user_data) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 48 lines changed or added | |||