LLFloaterGroupInfo Class Reference

#include <llfloatergroupinfo.h>

Inheritance diagram for LLFloaterGroupInfo:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterGroupInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~LLFloaterGroupInfo ()
LLUUID getGroupID ()
void selectTabByName (std::string tab_name)
virtual BOOL canClose ()

Static Public Member Functions

static void showCreateGroup (void *)
static void showMyGroupInfo (void *)
static void showFromUUID (const LLUUID &group_id, const std::string &tab_name=std::string())
static void closeCreateGroup ()
static void closeGroup (const LLUUID &group_id)
static void refreshGroup (const LLUUID &group_id)
static void showNotice (const char *subject, const char *message, const LLUUID &group_id, const bool &has_inventory, const char *inventory_name, LLOfferInfo *inventory_offer)

Protected Member Functions

 LLFloaterGroupInfo (const std::string &name, const LLRect &rect, const std::string &title, const LLUUID &group_id=LLUUID::null, const std::string &tab_name=std::string())

Static Private Member Functions

static void callbackLoadGroupName (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *data)

Private Attributes

LLUUID mGroupID
LLPanelGroupmPanelGroupp

Static Private Attributes

static std::map< LLUUID, LLFloaterGroupInfo * > sInstances

Detailed Description

Definition at line 46 of file llfloatergroupinfo.h.


Constructor & Destructor Documentation

LLFloaterGroupInfo::~LLFloaterGroupInfo (  )  [virtual]

Definition at line 98 of file llfloatergroupinfo.cpp.

References mGroupID, and sInstances.

LLFloaterGroupInfo::LLFloaterGroupInfo ( const std::string &  name,
const LLRect rect,
const std::string &  title,
const LLUUID group_id = LLUUID::null,
const std::string &  tab_name = std::string() 
) [protected]

Definition at line 85 of file llfloatergroupinfo.cpp.

References LLView::addChild(), and mPanelGroupp.

Referenced by showFromUUID().


Member Function Documentation

void LLFloaterGroupInfo::callbackLoadGroupName ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  is_group,
void data 
) [static, private]

Definition at line 163 of file llfloatergroupinfo.cpp.

References FLOATER_TITLE, get_if_there(), NULL, LLFloater::setTitle(), and sInstances.

Referenced by showFromUUID().

BOOL LLFloaterGroupInfo::canClose (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 103 of file llfloatergroupinfo.cpp.

References LLPanelGroup::canClose(), mPanelGroupp, and TRUE.

void LLFloaterGroupInfo::closeCreateGroup (  )  [static]

Definition at line 144 of file llfloatergroupinfo.cpp.

References closeGroup(), and LLUUID::null.

Referenced by LLGroupMgr::processCreateGroupReply().

void LLFloaterGroupInfo::closeGroup ( const LLUUID group_id  )  [static]

Definition at line 131 of file llfloatergroupinfo.cpp.

References LLPanelGroup::close(), get_if_there(), mPanelGroupp, NULL, and sInstances.

Referenced by closeCreateGroup(), LLAgent::processAgentDropGroup(), and LLGroupMgr::processLeaveGroupReply().

LLUUID LLFloaterGroupInfo::getGroupID (  )  [inline]

Definition at line 67 of file llfloatergroupinfo.h.

References mGroupID.

void LLFloaterGroupInfo::refreshGroup ( const LLUUID group_id  )  [static]

Definition at line 150 of file llfloatergroupinfo.cpp.

References get_if_there(), mPanelGroupp, NULL, LLPanelGroup::refreshData(), and sInstances.

Referenced by LLGroupMgr::processEjectGroupMemberReply(), LLGroupMgr::processJoinGroupReply(), and update_group_floaters().

void LLFloaterGroupInfo::selectTabByName ( std::string  tab_name  ) 

Definition at line 113 of file llfloatergroupinfo.cpp.

References mPanelGroupp, and LLPanelGroup::selectTab().

Referenced by showFromUUID().

void LLFloaterGroupInfo::showCreateGroup ( void  )  [static]

Definition at line 125 of file llfloatergroupinfo.cpp.

References LLUUID::null, and showFromUUID().

Referenced by LLPanelGroups::create().

void LLFloaterGroupInfo::showFromUUID ( const LLUUID group_id,
const std::string &  tab_name = std::string() 
) [static]

Definition at line 177 of file llfloatergroupinfo.cpp.

References callbackLoadGroupName(), LLFloater::center(), FGI_RECT, FLOATER_TITLE, gCacheName, LLCacheName::get(), get_if_there(), LLFloaterGroupInfo(), LLUUID::notNull(), NULL, LLFloater::open(), selectTabByName(), sInstances, and TRUE.

Referenced by group_vote_callback(), LLGroupHandler::handle(), LLPanelGroups::info(), join_group_callback(), LLFloaterIMPanel::onClickGroupInfo(), LLGroupNotifyBox::onClickGroupInfo(), LLPanelGroupGeneral::onClickInfo(), LLPanelPermissions::onClickOwner(), LLFloaterProperties::onClickOwner(), LLPanelLandGeneral::onClickProfile(), LLPanelAvatarSecondLife::onDoubleClickGroup(), LLPanelLandObjects::onDoubleClickOwner(), LLFloaterLandHoldings::onGrantList(), LLGroupMgr::processCreateGroupReply(), showCreateGroup(), and showMyGroupInfo().

void LLFloaterGroupInfo::showMyGroupInfo ( void  )  [static]

Definition at line 119 of file llfloatergroupinfo.cpp.

References gAgent, LLAgent::getGroupID(), and showFromUUID().

void LLFloaterGroupInfo::showNotice ( const char *  subject,
const char *  message,
const LLUUID group_id,
const bool &  has_inventory,
const char *  inventory_name,
LLOfferInfo inventory_offer 
) [static]

Definition at line 208 of file llfloatergroupinfo.cpp.

References get_if_there(), inventory_offer_callback(), IOR_DECLINE, LLUUID::isNull(), llendl, llinfos, mPanelGroupp, NULL, LLPanelGroup::showNotice(), and sInstances.

Referenced by process_improved_im().


Member Data Documentation

LLUUID LLFloaterGroupInfo::mGroupID [private]

Definition at line 81 of file llfloatergroupinfo.h.

Referenced by getGroupID(), and ~LLFloaterGroupInfo().

LLPanelGroup* LLFloaterGroupInfo::mPanelGroupp [private]

Definition at line 82 of file llfloatergroupinfo.h.

Referenced by canClose(), closeGroup(), LLFloaterGroupInfo(), refreshGroup(), selectTabByName(), and showNotice().

std::map< LLUUID, LLFloaterGroupInfo * > LLFloaterGroupInfo::sInstances [static, private]

Definition at line 79 of file llfloatergroupinfo.h.

Referenced by callbackLoadGroupName(), closeGroup(), refreshGroup(), showFromUUID(), showNotice(), and ~LLFloaterGroupInfo().


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