Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

TelepathyAccountHandler Class Reference

#include <TelepathyUnixAccountHandler.h>

Inheritance diagram for TelepathyAccountHandler:
AccountHandler EventListener

List of all members.

Public Member Functions

 TelepathyAccountHandler ()
virtual ~TelepathyAccountHandler ()
virtual UT_UTF8String getDescription ()
virtual UT_UTF8String getDisplayType ()
virtual UT_UTF8String getStorageType ()
virtual void embedDialogWidgets (void *pEmbeddingParent)
virtual void removeDialogWidgets (void *pEmbeddingParent)
virtual bool canDelete ()
virtual void loadProperties ()
virtual void storeProperties ()
virtual ConnectResult connect ()
virtual bool disconnect ()
virtual bool isOnline ()
void acceptTube (TpChannel *tubes_chan, const char *address)
void finalizeOfferTube (TelepathyChatroomPtr pChatroom)
virtual void getBuddiesAsync ()
virtual BuddyPtr constructBuddy (const PropertyMap &props)
virtual BuddyPtr constructBuddy (const std::string &descriptor, BuddyPtr pBuddy)
virtual bool recognizeBuddyIdentifier (const std::string &identifier)
virtual bool allowsManualBuddies ()
virtual void forceDisconnectBuddy (BuddyPtr pBuddy)
virtual bool hasAccess (const std::vector< std::string > &, BuddyPtr pBuddy)
virtual bool hasPersistentAccessControl ()
void addContact (TpContact *contact)
void buddyDisconnected (TelepathyChatroomPtr pChatroom, TpHandle disconnected)
virtual bool startSession (PD_Document *pDoc, const std::vector< std::string > &acl, AbiCollab **pSession)
virtual bool setAcl (AbiCollab *, const std::vector< std::string > &)
virtual bool allowsSessionTakeover ()
void unregisterChatroom (TelepathyChatroomPtr pChatroom)
virtual void signal (const Event &event, BuddyPtr pSource)
virtual bool send (const Packet *pPacket)
virtual bool send (const Packet *pPacket, BuddyPtr buddy)
void handleMessage (DTubeBuddyPtr pBuddy, const std::string &packet_str)

Static Public Member Functions

static TelepathyAccountHandlergetHandler ()

Private Member Functions

void _inviteBuddies (TelepathyChatroomPtr pChatroom, const std::vector< std::string > &)
std::vector< TelepathyBuddyPtr_getBuddies (const std::vector< std::string > &vAcl)
TelepathyBuddyPtr _getBuddy (TelepathyBuddyPtr pBuddy)
TelepathyChatroomPtr _getChatroom (const std::string &sSessionId)

Private Attributes

GtkWidget * table
GtkWidget * conference_entry
GtkWidget * autoconnect_button
TpBaseClient * m_pTpClient
std::vector< TelepathyChatroomPtrm_chatrooms

Constructor & Destructor Documentation

TelepathyAccountHandler::TelepathyAccountHandler (  ) 
TelepathyAccountHandler::~TelepathyAccountHandler (  )  [virtual]

References disconnect(), and isOnline().


Member Function Documentation

std::vector< TelepathyBuddyPtr > TelepathyAccountHandler::_getBuddies ( const std::vector< std::string > &  vAcl  )  [private]
TelepathyBuddyPtr TelepathyAccountHandler::_getBuddy ( TelepathyBuddyPtr  pBuddy  )  [private]
TelepathyChatroomPtr TelepathyAccountHandler::_getChatroom ( const std::string &  sSessionId  )  [private]

References m_chatrooms, and UT_continue_if_fail.

Referenced by setAcl(), and signal().

void TelepathyAccountHandler::_inviteBuddies ( TelepathyChatroomPtr  pChatroom,
const std::vector< std::string > &  vAcl 
) [private]
void TelepathyAccountHandler::acceptTube ( TpChannel *  tubes_chan,
const char *  address 
)

References m_chatrooms, UT_DEBUGMSG, and UT_return_if_fail.

Referenced by tube_accept_cb().

void TelepathyAccountHandler::addContact ( TpContact *  contact  ) 
virtual bool TelepathyAccountHandler::allowsManualBuddies (  )  [inline, virtual]

Implements AccountHandler.

virtual bool TelepathyAccountHandler::allowsSessionTakeover (  )  [inline, virtual]

Implements AccountHandler.

void TelepathyAccountHandler::buddyDisconnected ( TelepathyChatroomPtr  pChatroom,
TpHandle  disconnected 
)
virtual bool TelepathyAccountHandler::canDelete (  )  [inline, virtual]

Reimplemented from AccountHandler.

BuddyPtr TelepathyAccountHandler::constructBuddy ( const std::string &  descriptor,
BuddyPtr  pBuddy 
) [virtual]
BuddyPtr TelepathyAccountHandler::constructBuddy ( const PropertyMap props  )  [virtual]
void TelepathyAccountHandler::embedDialogWidgets ( void *  pEmbeddingParent  )  [virtual]
void TelepathyAccountHandler::finalizeOfferTube ( TelepathyChatroomPtr  pChatroom  ) 
void TelepathyAccountHandler::forceDisconnectBuddy ( BuddyPtr  pBuddy  )  [virtual]
void TelepathyAccountHandler::getBuddiesAsync (  )  [virtual]
UT_UTF8String TelepathyAccountHandler::getDescription (  )  [virtual]

Implements AccountHandler.

UT_UTF8String TelepathyAccountHandler::getDisplayType (  )  [virtual]

Implements AccountHandler.

static TelepathyAccountHandler* TelepathyAccountHandler::getHandler (  )  [static]
UT_UTF8String TelepathyAccountHandler::getStorageType (  )  [virtual]

Implements AccountHandler.

bool TelepathyAccountHandler::hasAccess ( const std::vector< std::string > &  ,
BuddyPtr  pBuddy 
) [virtual]

Reimplemented from AccountHandler.

References UT_DEBUGMSG, and UT_return_val_if_fail.

virtual bool TelepathyAccountHandler::hasPersistentAccessControl (  )  [inline, virtual]

Implements AccountHandler.

bool TelepathyAccountHandler::isOnline (  )  [virtual]

Implements AccountHandler.

References m_pTpClient.

Referenced by ~TelepathyAccountHandler().

void TelepathyAccountHandler::loadProperties (  )  [virtual]
bool TelepathyAccountHandler::recognizeBuddyIdentifier ( const std::string &  identifier  )  [virtual]
void TelepathyAccountHandler::removeDialogWidgets ( void *  pEmbeddingParent  )  [virtual]

Implements AccountHandler.

References table, UT_DEBUGMSG, and UT_return_if_fail.

bool TelepathyAccountHandler::send ( const Packet pPacket  )  [virtual]
bool TelepathyAccountHandler::send ( const Packet pPacket,
BuddyPtr  buddy 
) [virtual]
bool TelepathyAccountHandler::setAcl ( AbiCollab pSession,
const std::vector< std::string > &  vAcl 
) [virtual]
void TelepathyAccountHandler::storeProperties (  )  [virtual]
void TelepathyAccountHandler::unregisterChatroom ( TelepathyChatroomPtr  pChatroom  ) 

Member Data Documentation

TpBaseClient* TelepathyAccountHandler::m_pTpClient [private]

Referenced by connect(), disconnect(), and isOnline().


The documentation for this class was generated from the following files: