#include <llfloaterregioninfo.h>
Inheritance diagram for LLPanelEstateCovenant:
Definition at line 350 of file llfloaterregioninfo.h.
Definition at line 391 of file llfloaterregioninfo.h.
LLPanelEstateCovenant::LLPanelEstateCovenant | ( | ) |
Definition at line 2417 of file llfloaterregioninfo.cpp.
LLPanelEstateCovenant::~LLPanelEstateCovenant | ( | ) | [inline] |
Definition at line 354 of file llfloaterregioninfo.h.
Definition at line 2531 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant().
Referenced by handleDragAndDrop().
Definition at line 2557 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant(), and NULL.
Referenced by resetCovenantID().
bool LLPanelEstateCovenant::estateUpdate | ( | LLMessageSystem * | msg | ) | [virtual] |
const LLUUID& LLPanelEstateCovenant::getCovenantID | ( | ) | const [inline] |
Definition at line 383 of file llfloaterregioninfo.h.
References mCovenantID.
Referenced by sendChangeCovenantID().
const std::string & LLPanelEstateCovenant::getEstateName | ( | ) | const |
Definition at line 2704 of file llfloaterregioninfo.cpp.
References LLTextBox::getText(), and mEstateNameText.
const std::string & LLPanelEstateCovenant::getOwnerName | ( | ) | const |
Definition at line 2755 of file llfloaterregioninfo.cpp.
References LLTextBox::getText(), and mEstateOwnerText.
BOOL LLPanelEstateCovenant::handleDragAndDrop | ( | S32 | x, | |
S32 | y, | |||
MASK | mask, | |||
BOOL | drop, | |||
EDragAndDropType | cargo_type, | |||
void * | cargo_data, | |||
EAcceptance * | accept, | |||
LLString & | tooltip_msg | |||
) | [virtual] |
Reimplemented from LLView.
Definition at line 2497 of file llfloaterregioninfo.cpp.
References ACCEPT_NO, ACCEPT_YES_COPY_SINGLE, LLViewerWindow::alertXml(), LLAgent::canManageEstate(), confirmChangeCovenantCallback(), DAD_NOTECARD, gAgent, gViewerWindow, and TRUE.
void LLPanelEstateCovenant::loadInvItem | ( | LLInventoryItem * | itemp | ) |
Definition at line 2572 of file llfloaterregioninfo.cpp.
References ASSET_LOADED, ASSET_LOADING, gAgent, gAssetStorage, LLInventoryItem::getAssetUUID(), LLAgent::getID(), LLAssetStorage::getInvItemAsset(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLAgent::getRegionHost(), LLAgent::getSessionID(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), mAssetStatus, LLUUID::null, onLoadComplete(), sendChangeCovenantID(), setCovenantTextEditor(), and TRUE.
void LLPanelEstateCovenant::onLoadComplete | ( | LLVFS * | vfs, | |
const LLUUID & | asset_uuid, | |||
LLAssetType::EType | type, | |||
void * | user_data, | |||
S32 | status, | |||
LLExtStat | ext_status | |||
) | [static] |
Definition at line 2599 of file llfloaterregioninfo.cpp.
References LLViewerWindow::alertXml(), ASSET_LOADED, LLVFile::getSize(), gViewerStats, gViewerWindow, LLViewerStats::incStat(), LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, LL_ERR_FILE_EMPTY, LL_ERR_INSUFFICIENT_PERMISSIONS, llendl, llerrs, llinfos, llwarns, NULL, LLVFile::read(), LLVFile::READ, S32, and LLViewerStats::ST_DOWNLOAD_FAILED.
Referenced by loadInvItem().
BOOL LLPanelEstateCovenant::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanelRegionInfo.
Definition at line 2476 of file llfloaterregioninfo.cpp.
References LLAgent::canManageEstate(), gAgent, LLPanel::getChildByName(), LLPanelRegionInfo::initHelpBtn(), mEditor, mEstateNameText, mEstateOwnerText, mLastModifiedText, NULL, LLPanelRegionInfo::postBuild(), resetCovenantID(), LLButton::setClickedCallback(), LLView::setEnabled(), LLTextEditor::setHandleEditKeysDirectly(), and TRUE.
bool LLPanelEstateCovenant::refreshFromRegion | ( | LLViewerRegion * | region | ) | [virtual] |
Reimplemented from LLPanelRegionInfo.
Definition at line 2423 of file llfloaterregioninfo.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), LLPanel::childGetText(), gAgent, LLPanel::getChildByName(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerRegion::getName(), LLViewerRegion::getRegionFlags(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), LLPanelRegionInfo::refreshFromRegion(), REGION_FLAGS_ALLOW_PARCEL_CHANGES, REGION_FLAGS_BLOCK_LAND_RESELL, LLMessageSystem::sendReliable(), and LLTextBox::setText().
Definition at line 2549 of file llfloaterregioninfo.cpp.
References LLViewerWindow::alertXml(), confirmResetCovenantCallback(), gViewerWindow, and NULL.
Referenced by postBuild().
Definition at line 2675 of file llfloaterregioninfo.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), gAgent, getCovenantID(), LLAgent::getID(), LLFloaterRegionInfo::getLastInvoice(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), LLUUID::null, LLAgent::sendReliableMessage(), and setCovenantID().
Referenced by loadInvItem().
BOOL LLPanelEstateCovenant::sendUpdate | ( | ) | [protected, virtual] |
Reimplemented from LLPanelRegionInfo.
Definition at line 2699 of file llfloaterregioninfo.cpp.
References TRUE.
Definition at line 384 of file llfloaterregioninfo.h.
References mCovenantID.
Referenced by sendChangeCovenantID(), and updateCovenantText().
void LLPanelEstateCovenant::setCovenantTextEditor | ( | const std::string & | text | ) |
Definition at line 2765 of file llfloaterregioninfo.cpp.
References mEditor, and LLTextEditor::setText().
Referenced by loadInvItem().
void LLPanelEstateCovenant::setEstateName | ( | const std::string & | name | ) |
Definition at line 2709 of file llfloaterregioninfo.cpp.
References mEstateNameText, and LLTextBox::setText().
void LLPanelEstateCovenant::setOwnerName | ( | const std::string & | name | ) |
Definition at line 2760 of file llfloaterregioninfo.cpp.
References mEstateOwnerText, and LLTextBox::setText().
void LLPanelEstateCovenant::updateCovenantText | ( | const std::string & | string, | |
const LLUUID & | asset_id | |||
) | [static] |
Definition at line 2715 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant(), mEditor, setCovenantID(), and LLTextEditor::setText().
Referenced by onCovenantLoadComplete(), and process_covenant_reply().
void LLPanelEstateCovenant::updateEstateName | ( | const std::string & | name | ) | [static] |
Definition at line 2726 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant(), mEstateNameText, and LLTextBox::setText().
Referenced by process_covenant_reply().
void LLPanelEstateCovenant::updateEstateOwnerName | ( | const std::string & | name | ) | [static] |
Definition at line 2746 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant(), mEstateOwnerText, and LLTextBox::setText().
Referenced by callbackCacheEstateOwnerName().
void LLPanelEstateCovenant::updateLastModified | ( | const std::string & | text | ) | [static] |
Definition at line 2736 of file llfloaterregioninfo.cpp.
References LLFloaterRegionInfo::getPanelCovenant(), mLastModifiedText, and LLTextBox::setText().
Referenced by process_covenant_reply().
EAssetStatus LLPanelEstateCovenant::mAssetStatus [protected] |
LLUUID LLPanelEstateCovenant::mCovenantID [protected] |
Definition at line 405 of file llfloaterregioninfo.h.
Referenced by getCovenantID(), and setCovenantID().
LLViewerTextEditor* LLPanelEstateCovenant::mEditor [protected] |
Definition at line 406 of file llfloaterregioninfo.h.
Referenced by postBuild(), setCovenantTextEditor(), and updateCovenantText().
LLTextBox* LLPanelEstateCovenant::mEstateNameText [protected] |
Definition at line 401 of file llfloaterregioninfo.h.
Referenced by getEstateName(), postBuild(), setEstateName(), and updateEstateName().
LLTextBox* LLPanelEstateCovenant::mEstateOwnerText [protected] |
Definition at line 402 of file llfloaterregioninfo.h.
Referenced by getOwnerName(), postBuild(), setOwnerName(), and updateEstateOwnerName().
LLTextBox* LLPanelEstateCovenant::mLastModifiedText [protected] |
Definition at line 403 of file llfloaterregioninfo.h.
Referenced by postBuild(), and updateLastModified().