#include <llfloatergroups.h>


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 86 of file llfloatergroups.h.
| LLPanelGroups::LLPanelGroups | ( | ) |
Definition at line 180 of file llfloatergroups.cpp.
References LLObservable::addListener(), and gAgent.

| LLPanelGroups::~LLPanelGroups | ( | ) | [virtual] |
Definition at line 186 of file llfloatergroups.cpp.
References gAgent, and LLObservable::removeListener().

---------------------------------------------------------------------------- Class LLPanelGroups ----------------------------------------------------------------------------
Implements LLEventListener.
Definition at line 169 of file llfloatergroups.cpp.
References reset().

| void LLPanelGroups::reset | ( | ) |
Definition at line 192 of file llfloatergroups.cpp.
References LLPanel::childGetListInterface(), LLPanel::childSetTextArg(), LLDynamicArray< Type, BlockSize >::count(), enableButtons(), gAgent, LLAgent::getGroupID(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, LLCtrlSelectionInterface::OP_DELETE, and LLCtrlSelectionInterface::operateOnAll().
Referenced by handleEvent(), and postBuild().


| BOOL LLPanelGroups::postBuild | ( | void | ) | [protected, virtual] |
Reimplemented from LLPanel.
Definition at line 206 of file llfloatergroups.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetTextArg(), LLPanel::childSetUserData(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getGroupID(), init_group_list(), llformat(), MAX_AGENT_GROUPS, LLAgent::mGroups, onBtnActivate(), onBtnCreate(), onBtnIM(), onBtnInfo(), onBtnLeave(), onBtnSearch(), onGroupList(), reset(), LLPanel::setDefaultBtn(), and TRUE.

| void LLPanelGroups::enableButtons | ( | ) | [protected] |
Definition at line 237 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().


| void LLPanelGroups::onGroupList | ( | LLUICtrl * | ctrl, | |
| void * | userdata | |||
| ) | [static, protected] |
Definition at line 422 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnCreate | ( | void * | userdata | ) | [static, protected] |
Definition at line 277 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnActivate | ( | void * | userdata | ) | [static, protected] |
Definition at line 283 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnInfo | ( | void * | userdata | ) | [static, protected] |
Definition at line 289 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnIM | ( | void * | userdata | ) | [static, protected] |
Definition at line 295 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnLeave | ( | void * | userdata | ) | [static, protected] |
Definition at line 301 of file llfloatergroups.cpp.
Referenced by postBuild().

| void LLPanelGroups::onBtnSearch | ( | void * | userdata | ) | [static, protected] |
Definition at line 307 of file llfloatergroups.cpp.
Referenced by postBuild().

| static void LLPanelGroups::onBtnVote | ( | void * | userdata | ) | [static, protected] |
| static void LLPanelGroups::onDoubleClickGroup | ( | void * | userdata | ) | [static, protected] |
| void LLPanelGroups::create | ( | ) | [protected] |
Definition at line 313 of file llfloatergroups.cpp.
References llendl, llinfos, NULL, and LLFloaterGroupInfo::showCreateGroup().

| void LLPanelGroups::activate | ( | ) | [protected] |
Definition at line 319 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().

| void LLPanelGroups::info | ( | ) | [protected] |
Definition at line 337 of file llfloatergroups.cpp.
References LLPanel::childGetListInterface(), LLCtrlSelectionInterface::getCurrentID(), llendl, llinfos, and LLFloaterGroupInfo::showFromUUID().

| void LLPanelGroups::startIM | ( | ) | [protected] |
Definition at line 348 of file llfloatergroups.cpp.
References LLIMMgr::addSession(), LLPanel::childGetListInterface(), gAgent, LLCtrlSelectionInterface::getCurrentID(), LLAgent::getGroupData(), gIMMgr, IM_SESSION_GROUP_START, make_ui_sound(), LLGroupData::mName, LLIMMgr::setFloaterOpen(), and TRUE.

| void LLPanelGroups::leave | ( | ) | [protected] |
Definition at line 375 of file llfloatergroups.cpp.
References LLViewerWindow::alertXml(), callbackLeaveGroup(), LLPanel::childGetListInterface(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLDynamicArray< Type, BlockSize >::get(), LLCtrlSelectionInterface::getCurrentID(), gViewerWindow, i, llendl, llinfos, LLAgent::mGroups, LLGroupData::mID, LLGroupData::mName, and S32.

| void LLPanelGroups::search | ( | ) | [protected] |
Definition at line 399 of file llfloatergroups.cpp.
References LLFloaterDirectory::showGroups().

| void LLPanelGroups::callVote | ( | ) | [protected] |
| void LLPanelGroups::callbackLeaveGroup | ( | S32 | option, | |
| void * | userdata | |||
| ) | [static, protected] |
Definition at line 405 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().


1.5.5