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) |
static void | inviteOwnerCallback (S32 option, void *userdata) |
Public Attributes | |
LLUUID | mGroupID |
LLString | mLoadingText |
LLNameListCtrl * | mInvitees |
LLComboBox * | mRoleNames |
LLButton * | mOKButton |
LLButton * | mRemoveButton |
LLTextBox * | mGroupName |
LLString | mOwnerWarning |
bool | mConfirmedOwnerInvite |
void(* | mCloseCallback )(void *data) |
void * | mCloseCallbackUserData |
Definition at line 48 of file llpanelgroupinvite.cpp.
LLPanelGroupInvite::impl::impl | ( | const LLUUID & | group_id | ) |
Definition at line 89 of file llpanelgroupinvite.cpp.
LLPanelGroupInvite::impl::~impl | ( | ) |
Definition at line 103 of file llpanelgroupinvite.cpp.
void LLPanelGroupInvite::impl::addUsers | ( | const std::vector< std::string > & | names, | |
const std::vector< LLUUID > & | agent_ids | |||
) |
Definition at line 107 of file llpanelgroupinvite.cpp.
References LLNameListCtrl::addElement(), LLScrollListCtrl::getAllData(), LLScrollListItem::getUUID(), i, mInvitees, and S32.
Referenced by LLPanelGroupInvite::addUsers(), and callbackAddUsers().
void LLPanelGroupInvite::impl::submitInvitations | ( | ) |
Definition at line 145 of file llpanelgroupinvite.cpp.
References LLViewerWindow::alertXml(), LLScrollListCtrl::getAllData(), LLComboBox::getCurrentID(), LLGroupMgr::getGroupData(), LLSingleton< LLGroupMgr >::getInstance(), LLScrollListItem::getUUID(), gViewerWindow, inviteOwnerCallback(), mCloseCallbackUserData, mConfirmedOwnerInvite, mGroupID, mInvitees, LLGroupMgrGroupData::mOwnerRole, mOwnerWarning, mRoleNames, LLUUID::null, and LLGroupMgr::sendGroupMemberInvites().
Referenced by callbackClickOK().
void LLPanelGroupInvite::impl::addRoleNames | ( | LLGroupMgrGroupData * | gdatap | ) |
Definition at line 205 of file llpanelgroupinvite.cpp.
References LLComboBox::add(), ADD_BOTTOM, gAgent, LLAgent::getID(), LLGroupMgrGroupData::getRoleData(), GP_ROLE_ASSIGN_MEMBER, GP_ROLE_ASSIGN_MEMBER_LIMITED, LLAgent::hasPowerInGroup(), LLGroupMemberData::isInRole(), mGroupID, LLGroupMgrGroupData::mMembers, LLGroupMgrGroupData::mOwnerRole, LLRoleData::mRoleName, mRoleNames, LLGroupMgrGroupData::mRoles, and LLUUID::null.
Referenced by LLPanelGroupInvite::updateLists().
void LLPanelGroupInvite::impl::handleRemove | ( | ) |
Definition at line 292 of file llpanelgroupinvite.cpp.
References LLScrollListCtrl::deleteSelectedItems(), FALSE, LLScrollListCtrl::getAllSelected(), mInvitees, mRemoveButton, and LLView::setEnabled().
Referenced by callbackClickRemove().
void LLPanelGroupInvite::impl::handleSelection | ( | ) |
Definition at line 312 of file llpanelgroupinvite.cpp.
References FALSE, LLScrollListCtrl::getAllSelected(), mInvitees, mRemoveButton, LLView::setEnabled(), and TRUE.
Referenced by callbackSelect().
void LLPanelGroupInvite::impl::callbackClickCancel | ( | void * | userdata | ) | [static] |
Definition at line 327 of file llpanelgroupinvite.cpp.
References mCloseCallback, and mCloseCallbackUserData.
Referenced by LLPanelGroupInvite::postBuild().
void LLPanelGroupInvite::impl::callbackClickOK | ( | void * | userdata | ) | [static] |
Definition at line 337 of file llpanelgroupinvite.cpp.
References submitInvitations().
Referenced by LLPanelGroupInvite::postBuild().
void LLPanelGroupInvite::impl::callbackClickAdd | ( | void * | userdata | ) | [static] |
Definition at line 263 of file llpanelgroupinvite.cpp.
References LLFloater::addDependentFloater(), callbackAddUsers(), LLFloaterView::getParentFloater(), gFloaterView, LLPanelGroupInvite::mImplementation, LLFloaterAvatarPicker::show(), and TRUE.
Referenced by LLPanelGroupInvite::postBuild().
void LLPanelGroupInvite::impl::callbackClickRemove | ( | void * | userdata | ) | [static] |
Definition at line 285 of file llpanelgroupinvite.cpp.
References handleRemove().
Referenced by LLPanelGroupInvite::postBuild().
void LLPanelGroupInvite::impl::callbackSelect | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static] |
Definition at line 305 of file llpanelgroupinvite.cpp.
References handleSelection().
Referenced by LLPanelGroupInvite::postBuild().
void LLPanelGroupInvite::impl::callbackAddUsers | ( | const std::vector< std::string > & | names, | |
const std::vector< LLUUID > & | agent_ids, | |||
void * | user_data | |||
) | [static] |
Definition at line 345 of file llpanelgroupinvite.cpp.
References addUsers().
Referenced by callbackClickAdd().
void LLPanelGroupInvite::impl::inviteOwnerCallback | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 184 of file llpanelgroupinvite.cpp.
Referenced by submitInvitations().
Definition at line 72 of file llpanelgroupinvite.cpp.
Referenced by addRoleNames(), submitInvitations(), and LLPanelGroupInvite::updateLists().
Definition at line 74 of file llpanelgroupinvite.cpp.
Referenced by LLPanelGroupInvite::postBuild(), and LLPanelGroupInvite::update().
Definition at line 75 of file llpanelgroupinvite.cpp.
Referenced by addUsers(), LLPanelGroupInvite::clear(), handleRemove(), handleSelection(), LLPanelGroupInvite::postBuild(), and submitInvitations().
Definition at line 76 of file llpanelgroupinvite.cpp.
Referenced by addRoleNames(), LLPanelGroupInvite::clear(), LLPanelGroupInvite::postBuild(), submitInvitations(), LLPanelGroupInvite::update(), and LLPanelGroupInvite::updateLists().
Definition at line 77 of file llpanelgroupinvite.cpp.
Referenced by LLPanelGroupInvite::clear(), LLPanelGroupInvite::postBuild(), and LLPanelGroupInvite::updateLists().
Definition at line 78 of file llpanelgroupinvite.cpp.
Referenced by handleRemove(), handleSelection(), and LLPanelGroupInvite::postBuild().
Definition at line 79 of file llpanelgroupinvite.cpp.
Referenced by LLPanelGroupInvite::postBuild(), LLPanelGroupInvite::update(), and LLPanelGroupInvite::updateLists().
Definition at line 80 of file llpanelgroupinvite.cpp.
Referenced by LLPanelGroupInvite::postBuild(), and submitInvitations().
void(* LLPanelGroupInvite::impl::mCloseCallback)(void *data) |
Referenced by callbackClickCancel(), and LLPanelGroupInvite::setCloseCallback().
Definition at line 85 of file llpanelgroupinvite.cpp.
Referenced by callbackClickCancel(), LLPanelGroupInvite::setCloseCallback(), and submitInvitations().