LLPanelGroupInvite Class Reference

#include <llpanelgroupinvite.h>

Inheritance diagram for LLPanelGroupInvite:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupInvite:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGroupInvite (const std::string &name, const LLUUID &group_id)
 ~LLPanelGroupInvite ()
void addUsers (std::vector< LLUUID > &agent_ids)
void clear ()
void update ()
void setCloseCallback (void(*close_callback)(void *), void *data)
virtual void draw ()
virtual BOOL postBuild ()

Protected Member Functions

void updateLists ()

Protected Attributes

implmImplementation
BOOL mPendingUpdate
LLUUID mStoreSelected

Classes

class  impl

Detailed Description

Definition at line 37 of file llpanelgroupinvite.h.


Constructor & Destructor Documentation

LLPanelGroupInvite::LLPanelGroupInvite ( const std::string &  name,
const LLUUID group_id 
)

Definition at line 315 of file llpanelgroupinvite.cpp.

References LLUICtrlFactory::buildPanel(), FALSE, LLPanel::getFactoryMap(), gUICtrlFactory, mImplementation, mPendingUpdate, mStoreSelected, and LLUUID::null.

LLPanelGroupInvite::~LLPanelGroupInvite (  ) 

Definition at line 329 of file llpanelgroupinvite.cpp.

References mImplementation.


Member Function Documentation

void LLPanelGroupInvite::addUsers ( std::vector< LLUUID > &  agent_ids  ) 

Definition at line 350 of file llpanelgroupinvite.cpp.

References LLPanelGroupInvite::impl::addUsers(), LLViewerObjectList::findObject(), LLViewerObject::getID(), LLViewerObject::getNVPair(), LLNameValue::getString(), gObjectList, i, LLPrimitive::isAvatar(), llendl, llwarns, mImplementation, and S32.

Referenced by LLFloaterGroupInvite::showForGroup().

void LLPanelGroupInvite::clear (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 341 of file llpanelgroupinvite.cpp.

References LLComboBox::clear(), LLScrollListCtrl::deleteAllItems(), FALSE, mImplementation, LLPanelGroupInvite::impl::mInvitees, LLPanelGroupInvite::impl::mOKButton, LLPanelGroupInvite::impl::mRoleNames, mStoreSelected, LLUUID::null, LLComboBox::removeall(), and LLView::setEnabled().

Referenced by LLFloaterGroupInvite::showForGroup().

void LLPanelGroupInvite::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 385 of file llpanelgroupinvite.cpp.

References LLPanel::draw(), mPendingUpdate, and updateLists().

BOOL LLPanelGroupInvite::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 473 of file llpanelgroupinvite.cpp.

References LLPanelGroupInvite::impl::callbackClickAdd(), LLPanelGroupInvite::impl::callbackClickCancel(), LLPanelGroupInvite::impl::callbackClickOK(), LLPanelGroupInvite::impl::callbackClickRemove(), LLPanelGroupInvite::impl::callbackSelect(), LLPanel::childGetText(), FALSE, LLPanel::getChildByName(), LLPanelGroupInvite::impl::mGroupName, mImplementation, LLPanelGroupInvite::impl::mInvitees, LLPanelGroupInvite::impl::mLoadingText, LLPanelGroupInvite::impl::mOKButton, LLPanelGroupInvite::impl::mRemoveButton, LLPanelGroupInvite::impl::mRoleNames, LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLUICtrl::setCommitCallback(), LLScrollListCtrl::setCommitOnSelectionChange(), LLView::setEnabled(), TRUE, and update().

void LLPanelGroupInvite::setCloseCallback ( void(*)(void *)  close_callback,
void data 
)

Definition at line 334 of file llpanelgroupinvite.cpp.

References LLPanelGroupInvite::impl::mCloseCallback, LLPanelGroupInvite::impl::mCloseCallbackUserData, and mImplementation.

Referenced by LLFloaterGroupInvite::LLFloaterGroupInvite().

void LLPanelGroupInvite::update (  ) 

Definition at line 394 of file llpanelgroupinvite.cpp.

References LLComboBox::add(), ADD_BOTTOM, LLComboBox::clear(), FALSE, LLComboBox::getCurrentID(), LLPanelGroupInvite::impl::mGroupName, mImplementation, LLPanelGroupInvite::impl::mLoadingText, mPendingUpdate, LLPanelGroupInvite::impl::mRoleNames, mStoreSelected, LLUUID::null, LLComboBox::removeall(), LLComboBox::setCurrentByID(), LLTextBox::setText(), and updateLists().

Referenced by postBuild(), and LLFloaterGroupInvite::showForGroup().

void LLPanelGroupInvite::updateLists (  )  [protected]

Definition at line 413 of file llpanelgroupinvite.cpp.

References LLPanelGroupInvite::impl::addRoleNames(), LLComboBox::clear(), FALSE, LLGroupMgr::getGroupData(), LLComboBox::getItemCount(), gGroupMgr, LLGroupMgrGroupData::isGroupPropertiesDataComplete(), LLGroupMgrGroupData::isMemberDataComplete(), LLGroupMgrGroupData::isRoleDataComplete(), LLPanelGroupInvite::impl::mGroupID, LLPanelGroupInvite::impl::mGroupName, mImplementation, LLGroupMgrGroupData::mName, LLPanelGroupInvite::impl::mOKButton, mPendingUpdate, LLPanelGroupInvite::impl::mRoleNames, mStoreSelected, LLComboBox::removeall(), LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), LLComboBox::setCurrentByID(), LLView::setEnabled(), LLTextBox::setText(), and TRUE.

Referenced by draw(), and update().


Member Data Documentation

impl* LLPanelGroupInvite::mImplementation [protected]

Definition at line 53 of file llpanelgroupinvite.h.

Referenced by addUsers(), clear(), LLPanelGroupInvite(), postBuild(), setCloseCallback(), update(), updateLists(), and ~LLPanelGroupInvite().

BOOL LLPanelGroupInvite::mPendingUpdate [protected]

Definition at line 56 of file llpanelgroupinvite.h.

Referenced by draw(), LLPanelGroupInvite(), update(), and updateLists().

LLUUID LLPanelGroupInvite::mStoreSelected [protected]

Definition at line 57 of file llpanelgroupinvite.h.

Referenced by clear(), LLPanelGroupInvite(), update(), and updateLists().


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