#include "SugarUnixAccountHandler.h"
#include "SugarBuddy.h"
#include <account/xp/AccountEvent.h>
#include <account/xp/Event.h>
#include <core/account/xp/SessionEvent.h>
#include <session/xp/AbiCollabSessionManager.h>
#include <session/xp/AbiCollab.h>
#include <ev_EditMethod.h>
#include <xap_App.h>
#include <fv_View.h>
Defines | |
#define | INTERFACE "com.abisource.abiword.abicollab.olpc" |
#define | SEND_ALL_METHOD "SendAll" |
#define | SEND_ONE_METHOD "SendOne" |
Functions | |
static bool | s_offerTube (AV_View *v, EV_EditMethodCallData *d) |
static bool | s_joinTube (AV_View *v, EV_EditMethodCallData *d) |
static bool | s_disconnectTube (AV_View *v, EV_EditMethodCallData *d) |
static bool | s_buddyJoined (AV_View *v, EV_EditMethodCallData *d) |
static bool | s_buddyLeft (AV_View *v, EV_EditMethodCallData *d) |
static DBusHandlerResult | s_dbus_handle_message (DBusConnection *connection, DBusMessage *message, void *user_data) |
#define INTERFACE "com.abisource.abiword.abicollab.olpc" |
Referenced by SugarAccountHandler::_send(), TelepathyAccountHandler::connect(), and s_dbus_handle_message().
#define SEND_ALL_METHOD "SendAll" |
#define SEND_ONE_METHOD "SendOne" |
Referenced by SugarAccountHandler::_send(), and s_dbus_handle_message().
static bool s_buddyJoined | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |
static bool s_buddyLeft | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |
DBusHandlerResult s_dbus_handle_message | ( | DBusConnection * | connection, | |
DBusMessage * | message, | |||
void * | user_data | |||
) | [static] |
References AccountHandler::addBuddy(), SugarAccountHandler::createPacket(), SugarAccountHandler::getBuddy(), AccountHandler::handleMessage(), INTERFACE, SugarAccountHandler::isIgnoredBuddy(), SEND_ONE_METHOD, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by SugarAccountHandler::joinTube(), and SugarAccountHandler::offerTube().
static bool s_disconnectTube | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |
References SugarAccountHandler::disconnectTube(), SugarAccountHandler::getHandler(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by SugarAccountHandler::_registerEditMethods().
static bool s_joinTube | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |
static bool s_offerTube | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |