LLPanelGroupInvite::impl Class Reference

Collaboration diagram for LLPanelGroupInvite::impl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 impl (const LLUUID &group_id)
 ~impl ()
void addUsers (const std::vector< std::string > &names, const std::vector< LLUUID > &agent_ids)
void submitInvitations ()
void addRoleNames (LLGroupMgrGroupData *gdatap)
void handleRemove ()
void handleSelection ()

Static Public Member Functions

static void callbackClickCancel (void *userdata)
static void callbackClickOK (void *userdata)
static void callbackClickAdd (void *userdata)
static void callbackClickRemove (void *userdata)
static void callbackSelect (LLUICtrl *ctrl, void *userdata)
static void callbackAddUsers (const std::vector< std::string > &names, const std::vector< LLUUID > &agent_ids, void *user_data)

Public Attributes

LLUUID mGroupID
LLString mLoadingText
LLNameListCtrlmInvitees
LLComboBoxmRoleNames
LLButtonmOKButton
LLButtonmRemoveButton
LLTextBoxmGroupName
void(* mCloseCallback )(void *data)
voidmCloseCallbackUserData

Detailed Description

Definition at line 47 of file llpanelgroupinvite.cpp.


Constructor & Destructor Documentation

LLPanelGroupInvite::impl::impl ( const LLUUID group_id  ) 

Definition at line 85 of file llpanelgroupinvite.cpp.

References mCloseCallback, mCloseCallbackUserData, mGroupID, mInvitees, mRemoveButton, mRoleNames, and NULL.

LLPanelGroupInvite::impl::~impl (  ) 

Definition at line 97 of file llpanelgroupinvite.cpp.


Member Function Documentation

void LLPanelGroupInvite::impl::addRoleNames ( LLGroupMgrGroupData gdatap  ) 

Definition at line 166 of file llpanelgroupinvite.cpp.

References LLComboBox::add(), ADD_BOTTOM, end, gAgent, LLAgent::getID(), LLGroupMgrGroupData::getRoleData(), GP_ROLE_ASSIGN_MEMBER, GP_ROLE_ASSIGN_MEMBER_LIMITED, LLAgent::hasPowerInGroup(), mGroupID, LLGroupMgrGroupData::mMembers, LLGroupMgrGroupData::mOwnerRole, mRoleNames, LLGroupMgrGroupData::mRoles, and LLUUID::null.

Referenced by LLPanelGroupInvite::updateLists().

void LLPanelGroupInvite::impl::addUsers ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  agent_ids 
)

Definition at line 101 of file llpanelgroupinvite.cpp.

References LLNameListCtrl::addElement(), LLScrollListCtrl::getAllData(), i, mInvitees, and S32.

Referenced by LLPanelGroupInvite::addUsers().

void LLPanelGroupInvite::impl::callbackAddUsers ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  agent_ids,
void user_data 
) [static]

Definition at line 306 of file llpanelgroupinvite.cpp.

Referenced by callbackClickAdd().

void LLPanelGroupInvite::impl::callbackClickAdd ( void userdata  )  [static]

Definition at line 224 of file llpanelgroupinvite.cpp.

References LLFloater::addDependentFloater(), callbackAddUsers(), LLFloaterView::getParentFloater(), gFloaterView, LLFloaterAvatarPicker::show(), and TRUE.

Referenced by LLPanelGroupInvite::postBuild().

void LLPanelGroupInvite::impl::callbackClickCancel ( void userdata  )  [static]

Definition at line 288 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild().

void LLPanelGroupInvite::impl::callbackClickOK ( void userdata  )  [static]

Definition at line 298 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild().

void LLPanelGroupInvite::impl::callbackClickRemove ( void userdata  )  [static]

Definition at line 246 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild().

void LLPanelGroupInvite::impl::callbackSelect ( LLUICtrl ctrl,
void userdata 
) [static]

Definition at line 266 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild().

void LLPanelGroupInvite::impl::handleRemove (  ) 

Definition at line 253 of file llpanelgroupinvite.cpp.

References LLScrollListCtrl::deleteSelectedItems(), FALSE, LLScrollListCtrl::getAllSelected(), mInvitees, mRemoveButton, and LLView::setEnabled().

void LLPanelGroupInvite::impl::handleSelection (  ) 

Definition at line 273 of file llpanelgroupinvite.cpp.

References FALSE, LLScrollListCtrl::getAllSelected(), mInvitees, mRemoveButton, LLView::setEnabled(), and TRUE.

void LLPanelGroupInvite::impl::submitInvitations (  ) 

Definition at line 139 of file llpanelgroupinvite.cpp.

References LLScrollListCtrl::getAllData(), LLComboBox::getCurrentID(), gGroupMgr, mCloseCallbackUserData, mGroupID, mInvitees, mRoleNames, LLUUID::null, and LLGroupMgr::sendGroupMemberInvites().


Member Data Documentation

void(* LLPanelGroupInvite::impl::mCloseCallback)(void *data)

Referenced by impl(), and LLPanelGroupInvite::setCloseCallback().

void* LLPanelGroupInvite::impl::mCloseCallbackUserData

Definition at line 81 of file llpanelgroupinvite.cpp.

Referenced by impl(), LLPanelGroupInvite::setCloseCallback(), and submitInvitations().

LLUUID LLPanelGroupInvite::impl::mGroupID

Definition at line 70 of file llpanelgroupinvite.cpp.

Referenced by addRoleNames(), impl(), submitInvitations(), and LLPanelGroupInvite::updateLists().

LLTextBox* LLPanelGroupInvite::impl::mGroupName

Definition at line 77 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild(), LLPanelGroupInvite::update(), and LLPanelGroupInvite::updateLists().

LLNameListCtrl* LLPanelGroupInvite::impl::mInvitees

Definition at line 73 of file llpanelgroupinvite.cpp.

Referenced by addUsers(), LLPanelGroupInvite::clear(), handleRemove(), handleSelection(), impl(), LLPanelGroupInvite::postBuild(), and submitInvitations().

LLString LLPanelGroupInvite::impl::mLoadingText

Definition at line 72 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::postBuild(), and LLPanelGroupInvite::update().

LLButton* LLPanelGroupInvite::impl::mOKButton

Definition at line 75 of file llpanelgroupinvite.cpp.

Referenced by LLPanelGroupInvite::clear(), LLPanelGroupInvite::postBuild(), and LLPanelGroupInvite::updateLists().

LLButton* LLPanelGroupInvite::impl::mRemoveButton

Definition at line 76 of file llpanelgroupinvite.cpp.

Referenced by handleRemove(), handleSelection(), impl(), and LLPanelGroupInvite::postBuild().

LLComboBox* LLPanelGroupInvite::impl::mRoleNames

Definition at line 74 of file llpanelgroupinvite.cpp.

Referenced by addRoleNames(), LLPanelGroupInvite::clear(), impl(), LLPanelGroupInvite::postBuild(), submitInvitations(), LLPanelGroupInvite::update(), and LLPanelGroupInvite::updateLists().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:36 2010 for Second Life Viewer by  doxygen 1.4.7