#include <llfloatergroups.h>
Inheritance diagram for LLPanelGroups:
Public Member Functions | |
LLPanelGroups () | |
virtual | ~LLPanelGroups () |
bool | handleEvent (LLPointer< LLEvent > event, const LLSD &userdata) |
void | reset () |
Protected Member Functions | |
BOOL | postBuild () |
void | enableButtons () |
void | create () |
void | activate () |
void | info () |
void | startIM () |
void | leave () |
void | search () |
void | callVote () |
Static Protected Member Functions | |
static void | onGroupList (LLUICtrl *ctrl, void *userdata) |
static void | onBtnCreate (void *userdata) |
static void | onBtnActivate (void *userdata) |
static void | onBtnInfo (void *userdata) |
static void | onBtnIM (void *userdata) |
static void | onBtnLeave (void *userdata) |
static void | onBtnSearch (void *userdata) |
static void | onBtnVote (void *userdata) |
static void | onDoubleClickGroup (void *userdata) |
static void | callbackLeaveGroup (S32 option, void *userdata) |
Definition at line 84 of file llfloatergroups.h.
LLPanelGroups::LLPanelGroups | ( | ) |
Definition at line 181 of file llfloatergroups.cpp.
References LLObservable::addListener(), and gAgent.
LLPanelGroups::~LLPanelGroups | ( | ) | [virtual] |
Definition at line 187 of file llfloatergroups.cpp.
References gAgent, and LLObservable::removeListener().
void LLPanelGroups::activate | ( | ) | [protected] |
Definition at line 320 of file llfloatergroups.cpp.
References _PREHASH_ActivateGroup, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), LLPanel::childGetListInterface(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Definition at line 406 of file llfloatergroups.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupData, _PREHASH_GroupID, _PREHASH_LeaveGroupRequest, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Referenced by leave().
void LLPanelGroups::callVote | ( | ) | [protected] |
void LLPanelGroups::create | ( | ) | [protected] |
Definition at line 314 of file llfloatergroups.cpp.
References llendl, llinfos, NULL, and LLFloaterGroupInfo::showCreateGroup().
void LLPanelGroups::enableButtons | ( | ) | [protected] |
Definition at line 238 of file llfloatergroups.cpp.
References LLPanel::childDisable(), LLPanel::childEnable(), LLPanel::childGetListInterface(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getGroupID(), MAX_AGENT_GROUPS, LLAgent::mGroups, and LLUUID::notNull().
Referenced by reset().
---------------------------------------------------------------------------- Class LLPanelGroups ----------------------------------------------------------------------------
Reimplemented from LLView.
Definition at line 169 of file llfloatergroups.cpp.
References LLView::handleEvent(), and reset().
void LLPanelGroups::info | ( | ) | [protected] |
Definition at line 338 of file llfloatergroups.cpp.
References LLPanel::childGetListInterface(), LLCtrlSelectionInterface::getCurrentID(), llendl, llinfos, and LLFloaterGroupInfo::showFromUUID().
void LLPanelGroups::leave | ( | ) | [protected] |
Definition at line 376 of file llfloatergroups.cpp.
References LLViewerWindow::alertXml(), callbackLeaveGroup(), LLPanel::childGetListInterface(), LLDynamicArray< Type, BlockSize >::count(), count, gAgent, LLDynamicArray< Type, BlockSize >::get(), LLCtrlSelectionInterface::getCurrentID(), gViewerWindow, i, llendl, llinfos, LLAgent::mGroups, LLGroupData::mID, LLGroupData::mName, and S32.
BOOL LLPanelGroups::postBuild | ( | ) | [protected, virtual] |
Reimplemented from LLPanel.
Definition at line 207 of file llfloatergroups.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetTextArg(), LLPanel::childSetUserData(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, onBtnActivate(), onBtnCreate(), onBtnIM(), onBtnInfo(), onBtnLeave(), onBtnSearch(), onGroupList(), reset(), LLPanel::setDefaultBtn(), and TRUE.
void LLPanelGroups::reset | ( | ) |
Definition at line 193 of file llfloatergroups.cpp.
References LLPanel::childGetListInterface(), LLPanel::childSetTextArg(), LLDynamicArray< Type, BlockSize >::count(), enableButtons(), gAgent, LLAgent::getGroupID(), LLUICtrlFactory::getScrollListByName(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, LLCtrlSelectionInterface::OP_DELETE, and LLCtrlSelectionInterface::operateOnAll().
Referenced by handleEvent(), and postBuild().
void LLPanelGroups::search | ( | ) | [protected] |
void LLPanelGroups::startIM | ( | ) | [protected] |
Definition at line 349 of file llfloatergroups.cpp.
References LLIMMgr::addSession(), LLPanel::childGetListInterface(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getGroupData(), gIMMgr, IM_SESSION_GROUP_START, make_ui_sound(), LLIMMgr::setFloaterOpen(), and TRUE.