#include <account/xp/Event.h>
#include <account/xp/AccountEvent.h>
#include <session/xp/AbiCollabSessionManager.h>
#include <session/xp/AbiCollab.h>
#include <core/account/xp/SessionEvent.h>
#include <ev_EditMethod.h>
#include <xap_App.h>
#include <fv_View.h>
#include <xap_Frame.h>
#include <xap_UnixApp.h>
#include <telepathy-glib/telepathy-glib.h>
#include "TelepathyUnixAccountHandler.h"
#include "DTubeBuddy.h"
#include "TelepathyChatroom.h"
Functions | |
static void | list_contacts_for_connection_cb (TpConnection *, guint n_contacts, TpContact *const *contacts, guint, const TpHandle *, const GError *error, gpointer user_data, GObject *) |
static void | tp_connection_get_contact_list_attributes_cb (TpConnection *connection, GHashTable *out_Attributes, const GError *error, gpointer user_data, GObject *) |
static void | validate_connection (TpConnection *connection, gpointer user_data) |
static void | prepare_connection_cb (GObject *connection, GAsyncResult *res, gpointer user_data) |
static void | list_connection_names_cb (const gchar *const *bus_names, gsize n, const gchar *const *cms, const gchar *const *protocols, const GError *error, gpointer user_data, GObject *) |
static void | tube_accept_cb (TpChannel *channel, const char *address, const GError *error, gpointer user_data, GObject *) |
static void | handle_dbus_channel (TpSimpleHandler *, TpAccount *, TpConnection *, GList *channels, GList *, gint64, TpHandleChannelsContext *context, gpointer user_data) |
void | muc_channel_ready_cb (GObject *source_object, GAsyncResult *result, gpointer user_data) |
static void handle_dbus_channel | ( | TpSimpleHandler * | , | |
TpAccount * | , | |||
TpConnection * | , | |||
GList * | channels, | |||
GList * | , | |||
gint64 | , | |||
TpHandleChannelsContext * | context, | |||
gpointer | user_data | |||
) | [static] |
References tube_accept_cb(), UT_continue_if_fail, UT_DEBUGMSG, and UT_return_if_fail.
Referenced by TelepathyAccountHandler::connect().
static void list_connection_names_cb | ( | const gchar *const * | bus_names, | |
gsize | n, | |||
const gchar *const * | cms, | |||
const gchar *const * | protocols, | |||
const GError * | error, | |||
gpointer | user_data, | |||
GObject * | ||||
) | [static] |
References prepare_connection_cb(), UT_ASSERT_HARMLESS, UT_continue_if_fail, UT_DEBUGMSG, UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, and validate_connection().
Referenced by TelepathyAccountHandler::getBuddiesAsync().
static void list_contacts_for_connection_cb | ( | TpConnection * | , | |
guint | n_contacts, | |||
TpContact *const * | contacts, | |||
guint | , | |||
const TpHandle * | , | |||
const GError * | error, | |||
gpointer | user_data, | |||
GObject * | ||||
) | [static] |
References TelepathyAccountHandler::addContact(), UT_continue_if_fail, UT_DEBUGMSG, and UT_return_if_fail.
void muc_channel_ready_cb | ( | GObject * | source_object, | |
GAsyncResult * | result, | |||
gpointer | user_data | |||
) |
static void prepare_connection_cb | ( | GObject * | connection, | |
GAsyncResult * | res, | |||
gpointer | user_data | |||
) | [static] |
References UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_SHOULD_NOT_HAPPEN, and validate_connection().
Referenced by list_connection_names_cb().
static void tp_connection_get_contact_list_attributes_cb | ( | TpConnection * | connection, | |
GHashTable * | out_Attributes, | |||
const GError * | error, | |||
gpointer | user_data, | |||
GObject * | ||||
) | [static] |
References UT_DEBUGMSG, and UT_return_if_fail.
Referenced by validate_connection().
static void tube_accept_cb | ( | TpChannel * | channel, | |
const char * | address, | |||
const GError * | error, | |||
gpointer | user_data, | |||
GObject * | ||||
) | [static] |
References TelepathyAccountHandler::acceptTube(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by handle_dbus_channel().
static void validate_connection | ( | TpConnection * | connection, | |
gpointer | user_data | |||
) | [static] |
References tp_connection_get_contact_list_attributes_cb(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by list_connection_names_cb(), and prepare_connection_cb().