#include <llcurrencyuimanager.h>
Public Member Functions | |
LLCurrencyUIManager (LLPanel &parent) | |
virtual | ~LLCurrencyUIManager () |
void | setAmount (int, bool noEstimate=false) |
int | getAmount () |
void | setZeroMessage (const std::string &message) |
void | setEstimate (int) |
int | getEstimate () |
void | prepare () |
void | updateUI (bool show=true) |
bool | process () |
void | buy (const LLString &buy_msg) |
bool | inProcess () |
bool | canCancel () |
bool | canBuy () |
bool | buying () |
bool | bought () |
bool | hasError () |
std::string | errorMessage () |
std::string | errorURI () |
Private Attributes | |
Impl & | impl |
Classes | |
class | Impl |
Definition at line 38 of file llcurrencyuimanager.h.
LLCurrencyUIManager::LLCurrencyUIManager | ( | LLPanel & | parent | ) |
Definition at line 407 of file llcurrencyuimanager.cpp.
LLCurrencyUIManager::~LLCurrencyUIManager | ( | ) | [virtual] |
void LLCurrencyUIManager::setAmount | ( | int | amount, | |
bool | noEstimate = false | |||
) |
Definition at line 417 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mCurrencyChanged, LLCurrencyUIManager::Impl::mUserCurrencyBuy, LLCurrencyUIManager::Impl::mUserEnteredCurrencyBuy, and LLCurrencyUIManager::Impl::updateUI().
Referenced by LLFloaterBuyCurrencyUI::noTarget(), LLFloaterBuyCurrencyUI::target(), and LLFloaterBuyLandUI::updateParcelInfo().
int LLCurrencyUIManager::getAmount | ( | ) |
Definition at line 426 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mUserCurrencyBuy.
Referenced by LLFloaterBuyLandUI::refreshUI(), LLFloaterBuyLandUI::runWebSitePrep(), LLFloaterBuyLandUI::startBuyPreConfirm(), LLFloaterBuyCurrencyUI::updateUI(), and LLFloaterBuyLandUI::updateWebSiteInfo().
void LLCurrencyUIManager::setZeroMessage | ( | const std::string & | message | ) |
Definition at line 431 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mZeroMessage.
Referenced by LLFloaterBuyLandUI::updateParcelInfo().
void LLCurrencyUIManager::setEstimate | ( | int | amount | ) |
Definition at line 436 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mCurrencyChanged, LLCurrencyUIManager::Impl::mSiteCurrencyEstimated, LLCurrencyUIManager::Impl::mSiteCurrencyEstimatedCost, and LLCurrencyUIManager::Impl::updateUI().
Referenced by LLFloaterBuyLandUI::finishWebSiteInfo().
int LLCurrencyUIManager::getEstimate | ( | ) |
Definition at line 445 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mSiteCurrencyEstimated, and LLCurrencyUIManager::Impl::mSiteCurrencyEstimatedCost.
Referenced by LLFloaterBuyLandUI::refreshUI(), LLFloaterBuyLandUI::runWebSitePrep(), and LLFloaterBuyLandUI::startBuyPreConfirm().
void LLCurrencyUIManager::prepare | ( | ) |
Definition at line 450 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::prepare().
Referenced by LLFloaterBuyLandUI::postBuild(), and LLFloaterBuyCurrencyUI::postBuild().
void LLCurrencyUIManager::updateUI | ( | bool | show = true |
) |
Definition at line 455 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mHidden, and LLCurrencyUIManager::Impl::updateUI().
Referenced by LLFloaterBuyLandUI::refreshUI(), and LLFloaterBuyCurrencyUI::updateUI().
bool LLCurrencyUIManager::process | ( | ) |
Definition at line 461 of file llcurrencyuimanager.cpp.
References LLCurrencyUIManager::Impl::checkTransaction(), LLCurrencyUIManager::Impl::considerUpdateCurrency(), and impl.
Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::draw().
void LLCurrencyUIManager::buy | ( | const LLString & | buy_msg | ) |
Definition at line 469 of file llcurrencyuimanager.cpp.
References canBuy(), LLConfirmationManager::confirm(), impl, llformat(), LLCurrencyUIManager::Impl::mSiteConfirm, LLCurrencyUIManager::Impl::mSiteCurrencyEstimatedCost, LLCurrencyUIManager::Impl::mUserCurrencyBuy, LLUIString::setArg(), and LLCurrencyUIManager::Impl::startCurrencyBuy().
bool LLCurrencyUIManager::inProcess | ( | ) |
Definition at line 486 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionNone.
bool LLCurrencyUIManager::canCancel | ( | ) |
Definition at line 491 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionBuy.
Referenced by LLFloaterBuyLandUI::canClose(), and LLFloaterBuyCurrencyUI::canClose().
bool LLCurrencyUIManager::canBuy | ( | ) |
Definition at line 496 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mSiteCurrencyEstimated, LLCurrencyUIManager::Impl::mTransactionType, LLCurrencyUIManager::Impl::mUserCurrencyBuy, and LLCurrencyUIManager::Impl::TransactionNone.
Referenced by buy(), and LLFloaterBuyCurrencyUI::updateUI().
bool LLCurrencyUIManager::buying | ( | ) |
Definition at line 503 of file llcurrencyuimanager.cpp.
References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionBuy.
Referenced by LLFloaterBuyCurrencyUI::updateUI().
bool LLCurrencyUIManager::bought | ( | ) |
Definition at line 508 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mBought.
Referenced by LLFloaterBuyCurrencyUI::draw().
bool LLCurrencyUIManager::hasError | ( | ) |
Definition at line 513 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mError.
Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().
std::string LLCurrencyUIManager::errorMessage | ( | ) |
Definition at line 518 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mErrorMessage.
Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().
std::string LLCurrencyUIManager::errorURI | ( | ) |
Definition at line 523 of file llcurrencyuimanager.cpp.
References impl, and LLCurrencyUIManager::Impl::mErrorURI.
Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().
Impl& LLCurrencyUIManager::impl [private] |
Definition at line 90 of file llcurrencyuimanager.h.
Referenced by bought(), buy(), buying(), canBuy(), canCancel(), errorMessage(), errorURI(), getAmount(), getEstimate(), hasError(), inProcess(), prepare(), process(), setAmount(), setEstimate(), setZeroMessage(), updateUI(), and ~LLCurrencyUIManager().