Definition at line 55 of file llcurrencyuimanager.cpp.
Definition at line 82 of file llcurrencyuimanager.cpp.
LLCurrencyUIManager::Impl::Impl | ( | LLPanel & | dialog | ) |
Definition at line 120 of file llcurrencyuimanager.cpp.
LLCurrencyUIManager::Impl::~Impl | ( | ) | [virtual] |
bool LLCurrencyUIManager::Impl::checkTransaction | ( | ) |
Definition at line 258 of file llcurrencyuimanager.cpp.
References finishCurrencyBuy(), finishCurrencyInfo(), mTransaction, mTransactionType, NULL, LLXMLRPCTransaction::process(), setError(), LLXMLRPCTransaction::status(), LLXMLRPCTransaction::StatusComplete, LLXMLRPCTransaction::statusMessage(), LLXMLRPCTransaction::statusURI(), TransactionBuy, TransactionCurrency, and TransactionNone.
Referenced by LLCurrencyUIManager::process().
void LLCurrencyUIManager::Impl::clearError | ( | ) |
Definition at line 298 of file llcurrencyuimanager.cpp.
References mError, mErrorMessage, and mErrorURI.
Referenced by startTransaction().
bool LLCurrencyUIManager::Impl::considerUpdateCurrency | ( | ) |
Definition at line 305 of file llcurrencyuimanager.cpp.
References CURRENCY_ESTIMATE_FREQUENCY, LLFrameTimer::getElapsedTimeF32(), mCurrencyChanged, mCurrencyKeyTimer, mTransaction, and updateCurrencyInfo().
Referenced by LLCurrencyUIManager::process().
Definition at line 318 of file llcurrencyuimanager.cpp.
References LLPanel::childHide(), mCurrencyChanged, mCurrencyKeyTimer, mPanel, mSiteCurrencyEstimated, mUserCurrencyBuy, mUserEnteredCurrencyBuy, and LLFrameTimer::reset().
void LLCurrencyUIManager::Impl::finishCurrencyBuy | ( | ) |
Definition at line 216 of file llcurrencyuimanager.cpp.
References LLXMLRPCValue::asBool(), mBought, mTransaction, mUserCurrencyBuy, mUserEnteredCurrencyBuy, LLXMLRPCTransaction::responseValue(), and setError().
Referenced by checkTransaction().
void LLCurrencyUIManager::Impl::finishCurrencyInfo | ( | ) |
Definition at line 163 of file llcurrencyuimanager.cpp.
References LLXMLRPCValue::asBool(), LLXMLRPCValue::asInt(), LLXMLRPCValue::asString(), mSiteConfirm, mSiteCurrencyEstimated, mSiteCurrencyEstimatedCost, mTransaction, mUserCurrencyBuy, mUserEnteredCurrencyBuy, LLXMLRPCTransaction::responseValue(), S32, and setError().
Referenced by checkTransaction().
void LLCurrencyUIManager::Impl::onCurrencyKey | ( | LLLineEditor * | caller, | |
void * | data | |||
) | [static] |
Definition at line 342 of file llcurrencyuimanager.cpp.
References LLLineEditor::getText(), and S32.
Referenced by prepare().
void LLCurrencyUIManager::Impl::prepare | ( | ) |
Definition at line 350 of file llcurrencyuimanager.cpp.
References LLUICtrlFactory::getLineEditorByName(), mPanel, onCurrencyKey(), LLLineEditor::prevalidateNonNegativeS32(), LLUICtrl::setCallbackUserData(), LLLineEditor::setKeystrokeCallback(), and LLLineEditor::setPrevalidate().
Referenced by LLCurrencyUIManager::prepare().
void LLCurrencyUIManager::Impl::setError | ( | const std::string & | message, | |
const std::string & | uri | |||
) |
Definition at line 290 of file llcurrencyuimanager.cpp.
References mError, mErrorMessage, and mErrorURI.
Referenced by checkTransaction(), finishCurrencyBuy(), and finishCurrencyInfo().
void LLCurrencyUIManager::Impl::startCurrencyBuy | ( | const std::string & | password | ) |
Definition at line 191 of file llcurrencyuimanager.cpp.
References LLXMLRPCValue::appendInt(), LLXMLRPCValue::appendString(), LLUUID::asString(), LLXMLRPCValue::createArray(), LLXMLRPCValue::createStruct(), gAgent, LLAgent::getID(), LLAgent::getSecureSessionID(), mCurrencyChanged, mSiteConfirm, mSiteCurrencyEstimated, mSiteCurrencyEstimatedCost, mUserCurrencyBuy, params, startTransaction(), and TransactionBuy.
Referenced by LLCurrencyUIManager::buy().
void LLCurrencyUIManager::Impl::startTransaction | ( | TransactionType | type, | |
const char * | method, | |||
LLXMLRPCValue | params | |||
) |
Definition at line 236 of file llcurrencyuimanager.cpp.
References clearError(), getHelperURI(), mTransaction, mTransactionType, and params.
Referenced by startCurrencyBuy(), and updateCurrencyInfo().
void LLCurrencyUIManager::Impl::updateCurrencyInfo | ( | ) |
Definition at line 137 of file llcurrencyuimanager.cpp.
References LLXMLRPCValue::appendInt(), LLXMLRPCValue::appendString(), LLUUID::asString(), LLXMLRPCValue::createArray(), LLXMLRPCValue::createStruct(), gAgent, LLAgent::getID(), LLAgent::getSecureSessionID(), mBought, mCurrencyChanged, mSiteCurrencyEstimated, mSiteCurrencyEstimatedCost, mUserCurrencyBuy, params, startTransaction(), and TransactionCurrency.
Referenced by considerUpdateCurrency().
void LLCurrencyUIManager::Impl::updateUI | ( | ) |
Definition at line 361 of file llcurrencyuimanager.cpp.
References LLPanel::childHide(), LLPanel::childSetTextArg(), LLPanel::childSetVisible(), LLPanel::childShow(), LLUICtrlFactory::getLineEditorByName(), llformat(), mHidden, mPanel, mSiteCurrencyEstimated, mSiteCurrencyEstimatedCost, mUserCurrencyBuy, mUserEnteredCurrencyBuy, mZeroMessage, LLStringBase< char >::null, LLLineEditor::selectAll(), LLLineEditor::setLabel(), LLLineEditor::setText(), and LLView::setVisible().
Referenced by LLCurrencyUIManager::setAmount(), LLCurrencyUIManager::setEstimate(), and LLCurrencyUIManager::updateUI().
Definition at line 80 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::bought(), finishCurrencyBuy(), and updateCurrencyInfo().
Definition at line 92 of file llcurrencyuimanager.cpp.
Referenced by considerUpdateCurrency(), currencyKey(), LLCurrencyUIManager::setAmount(), LLCurrencyUIManager::setEstimate(), startCurrencyBuy(), and updateCurrencyInfo().
Definition at line 93 of file llcurrencyuimanager.cpp.
Referenced by considerUpdateCurrency(), and currencyKey().
Definition at line 65 of file llcurrencyuimanager.cpp.
Referenced by clearError(), LLCurrencyUIManager::hasError(), and setError().
std::string LLCurrencyUIManager::Impl::mErrorMessage |
Definition at line 66 of file llcurrencyuimanager.cpp.
Referenced by clearError(), LLCurrencyUIManager::errorMessage(), and setError().
std::string LLCurrencyUIManager::Impl::mErrorURI |
Definition at line 67 of file llcurrencyuimanager.cpp.
Referenced by clearError(), LLCurrencyUIManager::errorURI(), and setError().
Definition at line 63 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::updateUI(), and updateUI().
Definition at line 61 of file llcurrencyuimanager.cpp.
Referenced by currencyKey(), prepare(), and updateUI().
std::string LLCurrencyUIManager::Impl::mSiteConfirm |
Definition at line 78 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::buy(), finishCurrencyInfo(), and startCurrencyBuy().
Definition at line 76 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::canBuy(), currencyKey(), finishCurrencyInfo(), LLCurrencyUIManager::getEstimate(), LLCurrencyUIManager::setEstimate(), startCurrencyBuy(), updateCurrencyInfo(), and updateUI().
Definition at line 77 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::buy(), finishCurrencyInfo(), LLCurrencyUIManager::getEstimate(), LLCurrencyUIManager::setEstimate(), startCurrencyBuy(), updateCurrencyInfo(), and updateUI().
Definition at line 90 of file llcurrencyuimanager.cpp.
Referenced by checkTransaction(), considerUpdateCurrency(), finishCurrencyBuy(), finishCurrencyInfo(), startTransaction(), and ~Impl().
Definition at line 89 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::buying(), LLCurrencyUIManager::canBuy(), LLCurrencyUIManager::canCancel(), checkTransaction(), LLCurrencyUIManager::inProcess(), and startTransaction().
Definition at line 72 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::buy(), LLCurrencyUIManager::canBuy(), currencyKey(), finishCurrencyBuy(), finishCurrencyInfo(), LLCurrencyUIManager::getAmount(), LLCurrencyUIManager::setAmount(), startCurrencyBuy(), updateCurrencyInfo(), and updateUI().
Definition at line 73 of file llcurrencyuimanager.cpp.
Referenced by currencyKey(), finishCurrencyBuy(), finishCurrencyInfo(), LLCurrencyUIManager::setAmount(), and updateUI().
std::string LLCurrencyUIManager::Impl::mZeroMessage |
Definition at line 69 of file llcurrencyuimanager.cpp.
Referenced by LLCurrencyUIManager::setZeroMessage(), and updateUI().