Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

AP_Dialog_CollaborationShare Class Reference

#include <ap_Dialog_CollaborationShare.h>

Inheritance diagram for AP_Dialog_CollaborationShare:
XAP_Dialog_NonPersistent EventListener XAP_Dialog AP_UnixDialog_CollaborationShare AP_Win32Dialog_CollaborationShare

List of all members.

Public Types

enum  tAnswer { a_OK, a_CANCEL }

Public Member Functions

 AP_Dialog_CollaborationShare (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_CollaborationShare (void)
virtual void runModal (XAP_Frame *pFrame)=0
void signal (const Event &event, BuddyPtr pSource)
AP_Dialog_CollaborationShare::tAnswer getAnswer (void) const
AccountHandlergetAccount ()
const std::vector< std::string > & getAcl ()
void eventAccountChanged ()
void share (AccountHandler *pAccount, const std::vector< std::string > &vAcl)

Protected Member Functions

AbiCollab_getActiveSession ()
AccountHandler_getShareableAccountHandler ()
std::vector< std::string > _getSessionACL ()
bool _populateShareState (BuddyPtr pBuddy)
virtual void _refreshWindow ()=0
virtual void _populateBuddyModel (bool refresh)=0
virtual AccountHandler_getActiveAccountHandler ()=0
virtual void _setAccountHint (const UT_UTF8String &sHint)=0

Protected Attributes

AP_Dialog_CollaborationShare::tAnswer m_answer
std::vector< std::string > m_vAcl

Private Member Functions

bool _inAcl (const std::vector< std::string > &vAcl, BuddyPtr pBuddy)

Member Enumeration Documentation


Constructor & Destructor Documentation

AP_Dialog_CollaborationShare::AP_Dialog_CollaborationShare ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
AP_Dialog_CollaborationShare::~AP_Dialog_CollaborationShare ( void   )  [virtual]

Member Function Documentation

virtual AccountHandler* AP_Dialog_CollaborationShare::_getActiveAccountHandler (  )  [protected, pure virtual]
std::vector< std::string > AP_Dialog_CollaborationShare::_getSessionACL (  )  [protected]
AccountHandler * AP_Dialog_CollaborationShare::_getShareableAccountHandler (  )  [protected]
bool AP_Dialog_CollaborationShare::_inAcl ( const std::vector< std::string > &  vAcl,
BuddyPtr  pBuddy 
) [private]

References UT_return_val_if_fail.

Referenced by _populateShareState().

virtual void AP_Dialog_CollaborationShare::_populateBuddyModel ( bool  refresh  )  [protected, pure virtual]
virtual void AP_Dialog_CollaborationShare::_refreshWindow (  )  [protected, pure virtual]
virtual void AP_Dialog_CollaborationShare::_setAccountHint ( const UT_UTF8String sHint  )  [protected, pure virtual]
AccountHandler* AP_Dialog_CollaborationShare::getAccount (  )  [inline]

References m_pAccount.

Referenced by s_abicollab_offer().

const std::vector<std::string>& AP_Dialog_CollaborationShare::getAcl (  )  [inline]

References m_vAcl.

Referenced by s_abicollab_offer().

AP_Dialog_CollaborationShare::tAnswer AP_Dialog_CollaborationShare::getAnswer ( void   )  const [inline]

References m_answer.

Referenced by s_abicollab_offer().

virtual void AP_Dialog_CollaborationShare::runModal ( XAP_Frame pFrame  )  [pure virtual]
void AP_Dialog_CollaborationShare::signal ( const Event event,
BuddyPtr  pSource 
) [virtual]

Member Data Documentation

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