LLPanelEstateInfo Class Reference

#include <llfloaterregioninfo.h>

Inheritance diagram for LLPanelEstateInfo:

Inheritance graph
[legend]
Collaboration diagram for LLPanelEstateInfo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelEstateInfo ()
 ~LLPanelEstateInfo ()
virtual bool refreshFromRegion (LLViewerRegion *region)
virtual bool estateUpdate (LLMessageSystem *msg)
virtual BOOL postBuild ()
virtual void updateChild (LLUICtrl *child_ctrl)
virtual void refresh ()
U32 computeEstateFlags ()
void setEstateFlags (U32 flags)
BOOL getGlobalTime ()
void setGlobalTime (bool b)
BOOL getFixedSun ()
F32 getSunHour ()
void setSunHour (F32 sun_hour)
const std::string getEstateName () const
void setEstateName (const std::string &name)
U32 getEstateID () const
void setEstateID (U32 estate_id)
const std::string getOwnerName () const
void setOwnerName (const std::string &name)
const std::string getAbuseEmailAddress () const
void setAbuseEmailAddress (const std::string &address)
void setAccessAllowedEnabled (bool enable_agent, bool enable_group, bool enable_ban)

Static Public Member Functions

static void initDispatch (LLDispatcher &dispatch)
static void onChangeFixedSun (LLUICtrl *ctrl, void *user_data)
static void onChangeUseGlobalTime (LLUICtrl *ctrl, void *user_data)
static void onClickEditSky (void *userdata)
static void onClickEditSkyHelp (void *userdata)
static void onClickEditDayCycle (void *userdata)
static void onClickEditDayCycleHelp (void *userdata)
static void onClickAddAllowedAgent (void *user_data)
static void onClickRemoveAllowedAgent (void *user_data)
static void onClickAddAllowedGroup (void *user_data)
static void onClickRemoveAllowedGroup (void *user_data)
static void onClickAddBannedAgent (void *user_data)
static void onClickRemoveBannedAgent (void *user_data)
static void onClickAddEstateManager (void *user_data)
static void onClickRemoveEstateManager (void *user_data)
static void onClickKickUser (void *userdata)
static void addAllowedGroup (S32 option, void *data)
static void addAllowedGroup2 (LLUUID id, void *data)
static void accessAddCore (U32 operation_flag, const char *dialog_name)
static void accessAddCore2 (S32 option, void *data)
static void accessAddCore3 (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data)
static void accessRemoveCore (U32 operation_flag, const char *dialog_name, const char *list_ctrl_name)
static void accessRemoveCore2 (S32 option, void *data)
static void accessCoreConfirm (S32 option, void *data)
static void kickUserConfirm (S32 option, void *userdata)
static void sendEstateAccessDelta (U32 flags, const LLUUID &agent_id)
static void onKickUserCommit (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *userdata)
static void onClickMessageEstate (void *data)
static void onMessageCommit (S32 option, const LLString &text, void *data)
static bool isLindenEstate ()
static void callbackCacheName (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *)

Protected Member Functions

virtual BOOL sendUpdate ()
void commitEstateInfoDataserver ()
bool commitEstateInfoCaps ()
void commitEstateAccess ()
void commitEstateManagers ()
void clearAccessLists ()
BOOL checkRemovalButton (std::string name)
BOOL checkSunHourSlider (LLUICtrl *child_ctrl)

Static Protected Member Functions

static void callbackChangeLindenEstate (S32 opt, void *data)

Protected Attributes

U32 mEstateID


Detailed Description

Definition at line 251 of file llfloaterregioninfo.h.


Constructor & Destructor Documentation

LLPanelEstateInfo::LLPanelEstateInfo (  ) 

Definition at line 1374 of file llfloaterregioninfo.cpp.

LLPanelEstateInfo::~LLPanelEstateInfo (  )  [inline]

Definition at line 298 of file llfloaterregioninfo.h.


Member Function Documentation

void LLPanelEstateInfo::initDispatch ( LLDispatcher dispatch  )  [static]

Definition at line 1381 of file llfloaterregioninfo.cpp.

References LLDispatcher::addHandler(), and estate_dispatch_initialized.

Referenced by LLFloaterRegionInfo::processEstateOwnerRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onChangeFixedSun ( LLUICtrl ctrl,
void *  user_data 
) [static]

Definition at line 1416 of file llfloaterregioninfo.cpp.

References LLSD::asBoolean(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLPanelRegionInfo::enableButton(), and FALSE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onChangeUseGlobalTime ( LLUICtrl ctrl,
void *  user_data 
) [static]

Definition at line 1402 of file llfloaterregioninfo.cpp.

References LLSD::asBoolean(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLPanelRegionInfo::enableButton(), and FALSE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickEditSky ( void *  userdata  )  [static]

Definition at line 1434 of file llfloaterregioninfo.cpp.

References LLFloaterWindLight::show().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLPanelEstateInfo::onClickEditSkyHelp ( void *  userdata  )  [static]

void LLPanelEstateInfo::onClickEditDayCycle ( void *  userdata  )  [static]

Definition at line 1439 of file llfloaterregioninfo.cpp.

References LLFloaterDayCycle::show().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLPanelEstateInfo::onClickEditDayCycleHelp ( void *  userdata  )  [static]

void LLPanelEstateInfo::onClickAddAllowedAgent ( void *  user_data  )  [static]

Definition at line 1445 of file llfloaterregioninfo.cpp.

References accessAddCore(), LLViewerWindow::alertXml(), ESTATE_ACCESS_ALLOWED_AGENT_ADD, ESTATE_MAX_ACCESS_IDS, LLCtrlSelectionInterface::getItemCount(), gViewerWindow, and llformat().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickRemoveAllowedAgent ( void *  user_data  )  [static]

Definition at line 1463 of file llfloaterregioninfo.cpp.

References accessRemoveCore(), and ESTATE_ACCESS_ALLOWED_AGENT_REMOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickAddAllowedGroup ( void *  user_data  )  [static]

Definition at line 1469 of file llfloaterregioninfo.cpp.

References addAllowedGroup(), LLViewerWindow::alertXml(), ESTATE_MAX_ACCESS_IDS, LLCtrlSelectionInterface::getItemCount(), gViewerWindow, isLindenEstate(), and llformat().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickRemoveAllowedGroup ( void *  user_data  )  [static]

Definition at line 1515 of file llfloaterregioninfo.cpp.

References accessRemoveCore(), and ESTATE_ACCESS_ALLOWED_GROUP_REMOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickAddBannedAgent ( void *  user_data  )  [static]

Definition at line 1521 of file llfloaterregioninfo.cpp.

References accessAddCore(), LLViewerWindow::alertXml(), ESTATE_ACCESS_BANNED_AGENT_ADD, ESTATE_MAX_ACCESS_IDS, LLCtrlSelectionInterface::getItemCount(), gViewerWindow, and llformat().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickRemoveBannedAgent ( void *  user_data  )  [static]

Definition at line 1537 of file llfloaterregioninfo.cpp.

References accessRemoveCore(), and ESTATE_ACCESS_BANNED_AGENT_REMOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickAddEstateManager ( void *  user_data  )  [static]

Definition at line 1543 of file llfloaterregioninfo.cpp.

References accessAddCore(), LLViewerWindow::alertXml(), ESTATE_ACCESS_MANAGER_ADD, ESTATE_MAX_MANAGERS, LLCtrlSelectionInterface::getItemCount(), gViewerWindow, and llformat().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickRemoveEstateManager ( void *  user_data  )  [static]

Definition at line 1561 of file llfloaterregioninfo.cpp.

References accessRemoveCore(), and ESTATE_ACCESS_MANAGER_REMOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickKickUser ( void *  userdata  )  [static]

Definition at line 1576 of file llfloaterregioninfo.cpp.

References LLFloater::addDependentFloater(), FALSE, LLFloaterView::getParentFloater(), gFloaterView, onKickUserCommit(), LLFloaterAvatarPicker::show(), and TRUE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::addAllowedGroup ( S32  option,
void *  data 
) [static]

void LLPanelEstateInfo::addAllowedGroup2 ( LLUUID  id,
void *  data 
) [static]

void LLPanelEstateInfo::accessAddCore ( U32  operation_flag,
const char *  dialog_name 
) [static]

Definition at line 1710 of file llfloaterregioninfo.cpp.

References accessAddCore2(), LLViewerWindow::alertXml(), gViewerWindow, isLindenEstate(), LLEstateAccessChangeInfo::mDialogName, and LLEstateAccessChangeInfo::mOperationFlag.

Referenced by onClickAddAllowedAgent(), onClickAddBannedAgent(), and onClickAddEstateManager().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::accessAddCore2 ( S32  option,
void *  data 
) [static]

Definition at line 1729 of file llfloaterregioninfo.cpp.

References accessAddCore3(), NULL, LLFloaterAvatarPicker::show(), and TRUE.

Referenced by accessAddCore().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::accessAddCore3 ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void *  data 
) [static]

void LLPanelEstateInfo::accessRemoveCore ( U32  operation_flag,
const char *  dialog_name,
const char *  list_ctrl_name 
) [static]

void LLPanelEstateInfo::accessRemoveCore2 ( S32  option,
void *  data 
) [static]

Definition at line 1850 of file llfloaterregioninfo.cpp.

References accessCoreConfirm(), LLViewerWindow::alertXml(), all_estates_text(), gViewerWindow, isLindenEstate(), LLEstateAccessChangeInfo::mDialogName, and NULL.

Referenced by accessRemoveCore().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::accessCoreConfirm ( S32  option,
void *  data 
) [static]

void LLPanelEstateInfo::kickUserConfirm ( S32  option,
void *  userdata 
) [static]

Definition at line 1614 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getLastInvoice(), gMessageSystem, LLKickFromEstateInfo::mAgentID, MAX_STRING, LLKickFromEstateInfo::mEstatePanelp, NULL, LLPanelRegionInfo::sendEstateOwnerMessage(), and LLUUID::toString().

Referenced by onKickUserCommit().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::sendEstateAccessDelta ( U32  flags,
const LLUUID agent_id 
) [static]

void LLPanelEstateInfo::onKickUserCommit ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void *  userdata 
) [static]

Definition at line 1587 of file llfloaterregioninfo.cpp.

References LLViewerWindow::alertXml(), gViewerWindow, kickUserConfirm(), LLKickFromEstateInfo::mAgentID, LLKickFromEstateInfo::mDialogName, and LLKickFromEstateInfo::mEstatePanelp.

Referenced by onClickKickUser().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onClickMessageEstate ( void *  data  )  [static]

Definition at line 2576 of file llfloaterregioninfo.cpp.

References LLViewerWindow::alertXmlEditText(), gViewerWindow, llendl, llinfos, NULL, and onMessageCommit().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::onMessageCommit ( S32  option,
const LLString text,
void *  data 
) [static]

Definition at line 2585 of file llfloaterregioninfo.cpp.

References LLAgent::buildFullname(), gAgent, LLFloaterRegionInfo::getLastInvoice(), gMessageSystem, llendl, and llinfos.

Referenced by onClickMessageEstate().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLPanelEstateInfo::refreshFromRegion ( LLViewerRegion region  )  [virtual]

bool LLPanelEstateInfo::estateUpdate ( LLMessageSystem msg  )  [virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2043 of file llfloaterregioninfo.cpp.

References llendl, and llinfos.

BOOL LLPanelEstateInfo::postBuild ( void   )  [virtual]

void LLPanelEstateInfo::updateChild ( LLUICtrl child_ctrl  )  [virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2031 of file llfloaterregioninfo.cpp.

References checkRemovalButton(), checkSunHourSlider(), and LLView::getName().

Here is the call graph for this function:

void LLPanelEstateInfo::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2133 of file llfloaterregioninfo.cpp.

References LLSD::asBoolean(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), and LLPanel::childSetValue().

Referenced by refreshFromRegion(), and setEstateFlags().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLPanelEstateInfo::computeEstateFlags (  ) 

void LLPanelEstateInfo::setEstateFlags ( U32  flags  ) 

BOOL LLPanelEstateInfo::getGlobalTime (  ) 

Definition at line 2378 of file llfloaterregioninfo.cpp.

References LLSD::asBoolean(), and LLPanel::childGetValue().

Referenced by LLPanelRegionTerrainInfo::sendUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::setGlobalTime ( bool  b  ) 

Definition at line 2383 of file llfloaterregioninfo.cpp.

References LLPanel::childSetEnabled(), and LLPanel::childSetValue().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelEstateInfo::getFixedSun (  ) 

Definition at line 2395 of file llfloaterregioninfo.cpp.

References LLSD::asBoolean(), and LLPanel::childGetValue().

Referenced by LLPanelRegionTerrainInfo::sendUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLPanelEstateInfo::getSunHour (  ) 

Definition at line 2409 of file llfloaterregioninfo.cpp.

References LLSD::asReal(), LLPanel::childGetValue(), and LLPanel::childIsEnabled().

Referenced by commitEstateInfoCaps(), commitEstateInfoDataserver(), and LLPanelRegionTerrainInfo::sendUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::setSunHour ( F32  sun_hour  ) 

Definition at line 2400 of file llfloaterregioninfo.cpp.

References LLPanel::childSetValue().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string LLPanelEstateInfo::getEstateName (  )  const

Definition at line 2418 of file llfloaterregioninfo.cpp.

References LLSD::asString(), and LLPanel::childGetValue().

Referenced by commitEstateInfoCaps(), and commitEstateInfoDataserver().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::setEstateName ( const std::string &  name  ) 

Definition at line 2423 of file llfloaterregioninfo.cpp.

References LLPanel::childSetValue().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLPanelEstateInfo::getEstateID (  )  const [inline]

Definition at line 322 of file llfloaterregioninfo.h.

References mEstateID.

Referenced by isLindenEstate(), and sendUpdate().

Here is the caller graph for this function:

void LLPanelEstateInfo::setEstateID ( U32  estate_id  )  [inline]

Definition at line 323 of file llfloaterregioninfo.h.

References mEstateID.

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the caller graph for this function:

bool LLPanelEstateInfo::isLindenEstate (  )  [static]

Definition at line 1671 of file llfloaterregioninfo.cpp.

References ESTATE_LAST_LINDEN, getEstateID(), and LLFloaterRegionInfo::getPanelEstate().

Referenced by accessAddCore(), accessAddCore3(), accessRemoveCore(), accessRemoveCore2(), addAllowedGroup2(), and onClickAddAllowedGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string LLPanelEstateInfo::getOwnerName (  )  const

Definition at line 2428 of file llfloaterregioninfo.cpp.

References LLSD::asString(), and LLPanel::childGetValue().

Referenced by all_estates_text().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::setOwnerName ( const std::string &  name  ) 

Definition at line 2433 of file llfloaterregioninfo.cpp.

References LLPanel::childSetValue().

Here is the call graph for this function:

const std::string LLPanelEstateInfo::getAbuseEmailAddress (  )  const

Definition at line 2438 of file llfloaterregioninfo.cpp.

References LLSD::asString(), and LLPanel::childGetValue().

Here is the call graph for this function:

void LLPanelEstateInfo::setAbuseEmailAddress ( const std::string &  address  ) 

Definition at line 2443 of file llfloaterregioninfo.cpp.

References LLPanel::childSetValue().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::setAccessAllowedEnabled ( bool  enable_agent,
bool  enable_group,
bool  enable_ban 
)

Definition at line 2448 of file llfloaterregioninfo.cpp.

References checkRemovalButton(), LLPanel::childSetEnabled(), and LLPanel::childSetVisible().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::callbackCacheName ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  is_group,
void *   
) [static]

Definition at line 2490 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::getPanelEstate().

Referenced by LLDispatchEstateUpdateInfo::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelEstateInfo::sendUpdate (  )  [protected, virtual]

Reimplemented from LLPanelRegionInfo.

Definition at line 2147 of file llfloaterregioninfo.cpp.

References LLViewerWindow::alertXml(), callbackChangeLindenEstate(), ESTATE_LAST_LINDEN, getEstateID(), gViewerWindow, llendl, llinfos, and TRUE.

Here is the call graph for this function:

void LLPanelEstateInfo::callbackChangeLindenEstate ( S32  opt,
void *  data 
) [static, protected]

Definition at line 2167 of file llfloaterregioninfo.cpp.

References LLFloaterRegionInfo::nextInvoice().

Referenced by sendUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelEstateInfo::commitEstateInfoDataserver (  )  [protected]

bool LLPanelEstateInfo::commitEstateInfoCaps (  )  [protected]

void LLPanelEstateInfo::commitEstateAccess (  )  [protected]

void LLPanelEstateInfo::commitEstateManagers (  )  [protected]

void LLPanelEstateInfo::clearAccessLists (  )  [protected]

Definition at line 2516 of file llfloaterregioninfo.cpp.

References LLScrollListCtrl::deleteAllItems().

Referenced by refreshFromRegion(), and sendEstateAccessDelta().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelEstateInfo::checkRemovalButton ( std::string  name  )  [protected]

Definition at line 2532 of file llfloaterregioninfo.cpp.

References LLPanel::childSetEnabled(), FALSE, gAgent, LLScrollListCtrl::getFirstSelected(), LLAgent::getID(), LLViewerRegion::getOwner(), LLAgent::getRegion(), and TRUE.

Referenced by setAccessAllowedEnabled(), and updateChild().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelEstateInfo::checkSunHourSlider ( LLUICtrl child_ctrl  )  [protected]

Definition at line 2564 of file llfloaterregioninfo.cpp.

References LLPanelRegionInfo::enableButton(), FALSE, LLView::getName(), and TRUE.

Referenced by updateChild().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 359 of file llfloaterregioninfo.h.

Referenced by getEstateID(), and setEstateID().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:56:25 2008 for SecondLife by  doxygen 1.5.5