Definition at line 74 of file llfloaterbuyland.cpp.
enum LLFloaterBuyLandUI::TransactionType [private] |
Definition at line 135 of file llfloaterbuyland.cpp.
LLFloaterBuyLandUI::LLFloaterBuyLandUI | ( | ) | [private] |
LLFloaterBuyLandUI::~LLFloaterBuyLandUI | ( | ) | [private, virtual] |
Definition at line 332 of file llfloaterbuyland.cpp.
References LLViewerParcelMgr::deleteParcelBuy(), gParcelMgr, mParcelBuyInfo, mTransaction, NULL, and sInstance.
BOOL LLFloaterBuyLandUI::canClose | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 978 of file llfloaterbuyland.cpp.
References LLCurrencyUIManager::canCancel(), FALSE, mCurrency, mTransaction, and TRUE.
bool LLFloaterBuyLandUI::checkTransaction | ( | ) |
Definition at line 875 of file llfloaterbuyland.cpp.
References finishWebSiteInfo(), finishWebSitePrep(), mTransaction, mTransactionType, NULL, LLXMLRPCTransaction::process(), LLXMLRPCTransaction::status(), LLXMLRPCTransaction::StatusComplete, LLXMLRPCTransaction::statusMessage(), LLXMLRPCTransaction::statusURI(), tellUserError(), TransactionBuy, and TransactionPreflight.
Referenced by draw().
void LLFloaterBuyLandUI::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 955 of file llfloaterbuyland.cpp.
References checkTransaction(), LLFloater::close(), LLFloater::draw(), LLCurrencyUIManager::errorMessage(), LLCurrencyUIManager::errorURI(), LLCurrencyUIManager::hasError(), mBought, mCanBuy, mCurrency, LLCurrencyUIManager::process(), refreshUI(), and tellUserError().
void LLFloaterBuyLandUI::finishWebSiteInfo | ( | ) |
Definition at line 683 of file llfloaterbuyland.cpp.
References LLXMLRPCValue::asBool(), LLXMLRPCValue::asString(), level, mCurrency, mSiteConfirm, mSiteLandUseAction, mSiteLandUseUpgrade, mSiteMembershipAction, mSiteMembershipPlanIDs, mSiteMembershipPlanNames, mSiteMembershipUpgrade, mSiteValid, mTransaction, mUserPlanChoice, LLXMLRPCValue::next(), LLXMLRPCTransaction::responseValue(), LLXMLRPCValue::rewind(), LLCurrencyUIManager::setEstimate(), and tellUserError().
Referenced by checkTransaction().
void LLFloaterBuyLandUI::finishWebSitePrep | ( | ) |
Definition at line 779 of file llfloaterbuyland.cpp.
References LLXMLRPCValue::asBool(), mTransaction, LLXMLRPCTransaction::responseValue(), sendBuyLand(), and tellUserError().
Referenced by checkTransaction().
Definition at line 1345 of file llfloaterbuyland.cpp.
References LLWeb::loadURLExternal().
Referenced by postBuild().
void LLFloaterBuyLandUI::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 983 of file llfloaterbuyland.cpp.
References LLFloater::destroy(), and LLFloater::onClose().
BOOL LLFloaterBuyLandUI::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 918 of file llfloaterbuyland.cpp.
References LLPanel::childSetAction(), mCurrency, onClickBuy(), onClickCancel(), onClickErrorWeb(), LLCurrencyUIManager::prepare(), and TRUE.
void LLFloaterBuyLandUI::refreshUI | ( | ) |
Definition at line 990 of file llfloaterbuyland.cpp.
References LLComboBox::add(), LLViewChildren::BADGE_ERROR, LLViewChildren::BADGE_NOTE, LLViewChildren::BADGE_OK, LLViewChildren::BADGE_WARN, LLPanel::childGetText(), LLPanel::childHide(), LLPanel::childSetEnabled(), LLPanel::childSetLabelArg(), LLPanel::childSetText(), LLPanel::childSetTextArg(), LLPanel::childSetValue(), LLPanel::childSetVisible(), LLPanel::childSetWrappedText(), LLPanel::childShow(), gAgent, LLCheckBoxCtrl::get(), LLCurrencyUIManager::getAmount(), LLPanel::getChildByName(), LLUICtrlFactory::getComboBoxByName(), LLCurrencyUIManager::getEstimate(), LLUICtrlFactory::getTextBoxByName(), LLViewerUICtrlFactory::getTexturePickerByName(), GROUP_LAND_BONUS_FACTOR, i, llceil(), llformat(), mAgentCashBalance, mAgentCommittedTier, mCanBuy, mCannotBuyIsError, mCannotBuyReason, mCannotBuyURI, mChildren, mCurrency, LLAgent::mGroupName, mIsForGroup, mParcelActualArea, mParcelBillableArea, mParcelGroupContribution, mParcelIsForSale, mParcelIsGroupLand, mParcelLocation, mParcelPrice, mParcelSellerName, mParcelSnapshot, mParcelSoldWithObjects, mParcelSupportedObjects, mParcelValid, mSiteLandUseAction, mSiteLandUseUpgrade, mSiteMembershipAction, mSiteMembershipPlanNames, mSiteMembershipUpgrade, mSiteValid, mTransaction, mUserPlanChoice, LLStringBase< char >::null, LLUUID::null, LLComboBox::removeall(), S32, LLViewChildren::setBadge(), LLComboBox::setCurrentByIndex(), LLTextureCtrl::setImageAssetID(), LLView::setVisible(), LLTextBox::setWrappedText(), and LLCurrencyUIManager::updateUI().
Referenced by draw(), setParcel(), startBuyPostConfirm(), and updateCovenantText().
void LLFloaterBuyLandUI::runWebSitePrep | ( | const std::string & | password | ) |
Definition at line 723 of file llfloaterbuyland.cpp.
References LLXMLRPCValue::appendInt(), LLXMLRPCValue::appendString(), LLSD::asBoolean(), LLUUID::asString(), LLPanel::childGetValue(), LLXMLRPCValue::createArray(), LLXMLRPCValue::createStruct(), gAgent, LLCurrencyUIManager::getAmount(), LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), LLCurrencyUIManager::getEstimate(), LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getSecureSessionID(), LLAgent::getSessionID(), gParcelMgr, mCanBuy, mCurrency, mIsClaim, mIsForGroup, mParcelBillableArea, mParcelBuyInfo, mSiteConfirm, mSiteLandUseUpgrade, mSiteMembershipPlanIDs, mSiteMembershipUpgrade, mUserPlanChoice, params, sendBuyLand(), LLViewerParcelMgr::setupParcelBuy(), startTransaction(), and TransactionBuy.
Referenced by startBuyPostConfirm().
void LLFloaterBuyLandUI::sendBuyLand | ( | ) |
Definition at line 796 of file llfloaterbuyland.cpp.
References LLViewerParcelMgr::deleteParcelBuy(), gParcelMgr, mBought, mParcelBuyInfo, and LLViewerParcelMgr::sendParcelBuy().
Referenced by finishWebSitePrep(), and runWebSitePrep().
void LLFloaterBuyLandUI::setForGroup | ( | bool | is_for_group | ) |
Definition at line 950 of file llfloaterbuyland.cpp.
References mIsForGroup.
Referenced by LLFloaterBuyLand::buyLand().
void LLFloaterBuyLandUI::setParcel | ( | LLViewerRegion * | region, | |
LLParcelSelectionHandle | parcel | |||
) |
Definition at line 929 of file llfloaterbuyland.cpp.
References mCanBuy, mParcel, mRegion, mTransaction, mTransactionType, refreshUI(), TransactionBuy, updateAgentInfo(), updateCovenantInfo(), updateParcelInfo(), and updateWebSiteInfo().
Referenced by LLFloaterBuyLand::buyLand(), and LLFloaterBuyLandUI::SelectionObserver::changed().
LLFloaterBuyLandUI * LLFloaterBuyLandUI::soleInstance | ( | bool | createIfNeeded | ) | [static] |
Definition at line 280 of file llfloaterbuyland.cpp.
References LLViewerParcelMgr::addObserver(), LLCacheName::addObserver(), LLUICtrlFactory::buildFloater(), cacheNameUpdateRefreshesBuyLand(), LLFloater::center(), gCacheName, gParcelMgr, gUICtrlFactory, LLFloaterBuyLandUI(), NULL, and sInstance.
Referenced by LLFloaterBuyLand::buyLand(), cacheNameUpdateRefreshesBuyLand(), LLFloaterBuyLandUI::SelectionObserver::changed(), LLFloaterBuyLand::isOpen(), LLFloaterBuyLand::updateCovenantText(), LLFloaterBuyLand::updateEstateName(), LLFloaterBuyLand::updateEstateOwnerName(), and LLFloaterBuyLand::updateLastModified().
void LLFloaterBuyLandUI::startBuyPostConfirm | ( | const std::string & | password | ) |
Definition at line 1320 of file llfloaterbuyland.cpp.
References LLPanel::childGetText(), mCanBuy, mCannotBuyReason, refreshUI(), and runWebSitePrep().
Referenced by startBuyPreConfirm().
void LLFloaterBuyLandUI::startBuyPreConfirm | ( | ) |
Definition at line 1277 of file llfloaterbuyland.cpp.
References LLPanel::childGetText(), LLPanel::childSetTextArg(), LLConfirmationManager::confirm(), LLCurrencyUIManager::getAmount(), LLUICtrlFactory::getComboBoxByName(), LLComboBox::getCurrentIndex(), LLCurrencyUIManager::getEstimate(), llformat(), mCurrency, mParcelPrice, mParcelSellerName, mSiteConfirm, mSiteLandUseAction, mSiteLandUseUpgrade, mSiteMembershipAction, mSiteMembershipPlanNames, mSiteMembershipUpgrade, and startBuyPostConfirm().
void LLFloaterBuyLandUI::startTransaction | ( | TransactionType | type, | |
LLXMLRPCValue | params | |||
) |
Definition at line 838 of file llfloaterbuyland.cpp.
References getHelperURI(), llendl, llwarns, mTransaction, mTransactionType, NULL, params, TransactionBuy, and TransactionPreflight.
Referenced by runWebSitePrep(), and updateWebSiteInfo().
void LLFloaterBuyLandUI::tellUserError | ( | const std::string & | message, | |
const std::string & | uri | |||
) |
Definition at line 906 of file llfloaterbuyland.cpp.
References LLPanel::childGetText(), mCanBuy, mCannotBuyIsError, mCannotBuyReason, and mCannotBuyURI.
Referenced by checkTransaction(), draw(), finishWebSiteInfo(), and finishWebSitePrep().
void LLFloaterBuyLandUI::updateAgentInfo | ( | ) |
Definition at line 362 of file llfloaterbuyland.cpp.
References LLStatusBar::getBalance(), LLStatusBar::getSquareMetersCommitted(), gStatusBar, mAgentCashBalance, mAgentCommittedTier, and mAgentHasNeverOwnedLand.
Referenced by setParcel().
void LLFloaterBuyLandUI::updateCovenantInfo | ( | ) |
Definition at line 519 of file llfloaterbuyland.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), LLPanel::childGetText(), FALSE, gAgent, LLPanel::getChildByName(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerRegion::getName(), LLViewerRegion::getRegionFlags(), LLViewerParcelMgr::getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, gParcelMgr, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), onChangeAgreeCovenant(), REGION_FLAGS_ALLOW_PARCEL_CHANGES, REGION_FLAGS_BLOCK_LAND_RESELL, LLMessageSystem::sendReliable(), LLCheckBoxCtrl::set(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLCheckBoxCtrl::setEnabled(), LLTextBox::setText(), and LLView::setVisible().
Referenced by setParcel().
Definition at line 590 of file llfloaterbuyland.cpp.
References FALSE, LLPanel::getChildByName(), LLUUID::isNull(), refreshUI(), LLCheckBoxCtrl::set(), LLCheckBoxCtrl::setEnabled(), LLTextEditor::setHandleEditKeysDirectly(), LLTextEditor::setText(), LLView::setVisible(), and TRUE.
Referenced by LLFloaterBuyLand::updateCovenantText().
void LLFloaterBuyLandUI::updateEstateName | ( | const std::string & | name | ) |
Definition at line 622 of file llfloaterbuyland.cpp.
References LLPanel::getChildByName(), and LLTextBox::setText().
Referenced by LLFloaterBuyLand::updateEstateName().
void LLFloaterBuyLandUI::updateEstateOwnerName | ( | const std::string & | name | ) |
Definition at line 634 of file llfloaterbuyland.cpp.
References LLPanel::getChildByName(), and LLTextBox::setText().
Referenced by LLFloaterBuyLand::updateEstateOwnerName().
void LLFloaterBuyLandUI::updateLastModified | ( | const std::string & | text | ) |
Definition at line 628 of file llfloaterbuyland.cpp.
References LLPanel::getChildByName(), and LLTextBox::setText().
Referenced by LLFloaterBuyLand::updateLastModified().
void LLFloaterBuyLandUI::updateNames | ( | ) |
Definition at line 806 of file llfloaterbuyland.cpp.
References DB_LAST_NAME_BUF_SIZE, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getIsGroupOwned(), LLCacheName::getName(), LLParcel::getOwnerID(), llformat(), mIsClaim, mParcel, and mParcelSellerName.
Referenced by cacheNameUpdateRefreshesBuyLand(), and updateParcelInfo().
void LLFloaterBuyLandUI::updateParcelInfo | ( | ) |
Definition at line 372 of file llfloaterbuyland.cpp.
References LLFloater::center(), LLPanel::childGetText(), gAgent, LLParcel::getArea(), LLParcel::getAuthorizedBuyerID(), LLParcel::getCenterpoint(), LLParcel::getClaimPricePerMeter(), LLParcel::getForSale(), LLAgent::getGroupContribution(), LLAgent::getGroupID(), LLParcel::getGroupID(), LLAgent::getID(), LLParcel::getIsGroupOwned(), LLParcel::getMaxPrimCapacity(), LLParcel::getOwnerID(), LLParcel::getParcelPrimBonus(), LLParcel::getSalePrice(), LLViewerParcelMgr::getSelectionRegion(), LLParcel::getSellWithObjects(), LLParcel::getSnapshotID(), GP_LAND_DEED, gParcelMgr, LLAgent::hasPowerInActiveGroup(), LLUUID::isNull(), LLParcel::isPublic(), llformat(), llmin(), llround(), mAgentCashBalance, mCanBuy, mCannotBuyIsError, mCannotBuyReason, mCurrency, mIsClaim, mIsForGroup, mParcel, mParcelActualArea, mParcelBillableArea, mParcelGroupContribution, mParcelIsForSale, mParcelIsGroupLand, mParcelLocation, mParcelPrice, mParcelSellerName, mParcelSnapshot, mParcelSoldWithObjects, mParcelSupportedObjects, mParcelValid, mRegion, S32, LLCurrencyUIManager::setAmount(), LLUUID::setNull(), LLCurrencyUIManager::setZeroMessage(), updateNames(), VX, and VY.
Referenced by setParcel().
void LLFloaterBuyLandUI::updateWebSiteInfo | ( | ) |
Definition at line 640 of file llfloaterbuyland.cpp.
References LLXMLRPCValue::appendInt(), LLXMLRPCValue::appendString(), LLUUID::asString(), LLXMLRPCValue::createArray(), LLXMLRPCValue::createStruct(), gAgent, LLCurrencyUIManager::getAmount(), LLAgent::getID(), LLAgent::getSecureSessionID(), mCurrency, mIsForGroup, mParcelBillableArea, mPreflightAskBillableArea, mPreflightAskCurrencyBuy, mSiteLandUseAction, mSiteLandUseUpgrade, mSiteMembershipAction, mSiteMembershipPlanIDs, mSiteMembershipPlanNames, mSiteMembershipUpgrade, mSiteValid, mTransaction, mTransactionType, params, S32, startTransaction(), and TransactionPreflight.
Referenced by setParcel().
S32 LLFloaterBuyLandUI::mAgentCashBalance [private] |
Definition at line 95 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), updateAgentInfo(), and updateParcelInfo().
S32 LLFloaterBuyLandUI::mAgentCommittedTier [private] |
Definition at line 94 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateAgentInfo().
bool LLFloaterBuyLandUI::mAgentHasNeverOwnedLand [private] |
bool LLFloaterBuyLandUI::mBought [private] |
bool LLFloaterBuyLandUI::mCanBuy [private] |
Definition at line 86 of file llfloaterbuyland.cpp.
Referenced by draw(), refreshUI(), runWebSitePrep(), setParcel(), startBuyPostConfirm(), tellUserError(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mCannotBuyIsError [private] |
Definition at line 87 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), tellUserError(), and updateParcelInfo().
std::string LLFloaterBuyLandUI::mCannotBuyReason [private] |
Definition at line 88 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), startBuyPostConfirm(), tellUserError(), and updateParcelInfo().
std::string LLFloaterBuyLandUI::mCannotBuyURI [private] |
LLViewChildren LLFloaterBuyLandUI::mChildren [private] |
Definition at line 133 of file llfloaterbuyland.cpp.
Referenced by canClose(), draw(), finishWebSiteInfo(), postBuild(), refreshUI(), runWebSitePrep(), startBuyPreConfirm(), updateParcelInfo(), and updateWebSiteInfo().
bool LLFloaterBuyLandUI::mIsClaim [private] |
Definition at line 83 of file llfloaterbuyland.cpp.
Referenced by runWebSitePrep(), updateNames(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mIsForGroup [private] |
Definition at line 84 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), runWebSitePrep(), setForGroup(), updateParcelInfo(), and updateWebSiteInfo().
Definition at line 82 of file llfloaterbuyland.cpp.
Referenced by setParcel(), updateNames(), and updateParcelInfo().
S32 LLFloaterBuyLandUI::mParcelActualArea [private] |
Definition at line 104 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
S32 LLFloaterBuyLandUI::mParcelBillableArea [private] |
Definition at line 105 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), runWebSitePrep(), updateParcelInfo(), and updateWebSiteInfo().
Definition at line 144 of file llfloaterbuyland.cpp.
Referenced by runWebSitePrep(), sendBuyLand(), and ~LLFloaterBuyLandUI().
Definition at line 102 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mParcelIsForSale [private] |
Definition at line 100 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mParcelIsGroupLand [private] |
Definition at line 101 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
std::string LLFloaterBuyLandUI::mParcelLocation [private] |
Definition at line 108 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
S32 LLFloaterBuyLandUI::mParcelPrice [private] |
Definition at line 103 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), startBuyPreConfirm(), and updateParcelInfo().
std::string LLFloaterBuyLandUI::mParcelSellerName [private] |
Definition at line 110 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), startBuyPreConfirm(), updateNames(), and updateParcelInfo().
LLUUID LLFloaterBuyLandUI::mParcelSnapshot [private] |
Definition at line 109 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mParcelSoldWithObjects [private] |
Definition at line 107 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
Definition at line 106 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
bool LLFloaterBuyLandUI::mParcelValid [private] |
Definition at line 99 of file llfloaterbuyland.cpp.
Referenced by refreshUI(), and updateParcelInfo().
LLViewerRegion* LLFloaterBuyLandUI::mRegion [private] |
Definition at line 81 of file llfloaterbuyland.cpp.
Referenced by setParcel(), and updateParcelInfo().
std::string LLFloaterBuyLandUI::mSiteConfirm [private] |
Definition at line 125 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), runWebSitePrep(), and startBuyPreConfirm().
std::string LLFloaterBuyLandUI::mSiteLandUseAction [private] |
Definition at line 124 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), startBuyPreConfirm(), and updateWebSiteInfo().
bool LLFloaterBuyLandUI::mSiteLandUseUpgrade [private] |
Definition at line 123 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), runWebSitePrep(), startBuyPreConfirm(), and updateWebSiteInfo().
std::string LLFloaterBuyLandUI::mSiteMembershipAction [private] |
Definition at line 118 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), startBuyPreConfirm(), and updateWebSiteInfo().
std::vector<std::string> LLFloaterBuyLandUI::mSiteMembershipPlanIDs [private] |
Definition at line 120 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), runWebSitePrep(), and updateWebSiteInfo().
std::vector<std::string> LLFloaterBuyLandUI::mSiteMembershipPlanNames [private] |
Definition at line 122 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), startBuyPreConfirm(), and updateWebSiteInfo().
bool LLFloaterBuyLandUI::mSiteMembershipUpgrade [private] |
Definition at line 117 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), runWebSitePrep(), startBuyPreConfirm(), and updateWebSiteInfo().
bool LLFloaterBuyLandUI::mSiteValid [private] |
Definition at line 116 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), and updateWebSiteInfo().
Definition at line 141 of file llfloaterbuyland.cpp.
Referenced by canClose(), checkTransaction(), finishWebSiteInfo(), finishWebSitePrep(), refreshUI(), setParcel(), startTransaction(), updateWebSiteInfo(), and ~LLFloaterBuyLandUI().
Definition at line 142 of file llfloaterbuyland.cpp.
Referenced by checkTransaction(), setParcel(), startTransaction(), and updateWebSiteInfo().
S32 LLFloaterBuyLandUI::mUserPlanChoice [private] |
Definition at line 113 of file llfloaterbuyland.cpp.
Referenced by finishWebSiteInfo(), refreshUI(), and runWebSitePrep().
LLFloaterBuyLandUI * LLFloaterBuyLandUI::sInstance = NULL [static, private] |
Definition at line 146 of file llfloaterbuyland.cpp.
Referenced by soleInstance(), and ~LLFloaterBuyLandUI().