LLCurrencyUIManager Class Reference

#include <llcurrencyuimanager.h>

Collaboration diagram for LLCurrencyUIManager:

Collaboration graph
[legend]
List of all members.

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

Implimpl

Classes

class  Impl

Detailed Description

Definition at line 38 of file llcurrencyuimanager.h.


Constructor & Destructor Documentation

LLCurrencyUIManager::LLCurrencyUIManager ( LLPanel parent  ) 

Definition at line 400 of file llcurrencyuimanager.cpp.

LLCurrencyUIManager::~LLCurrencyUIManager (  )  [virtual]

Definition at line 405 of file llcurrencyuimanager.cpp.

References impl.


Member Function Documentation

bool LLCurrencyUIManager::bought (  ) 

Definition at line 501 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mBought.

Referenced by LLFloaterBuyCurrencyUI::draw().

void LLCurrencyUIManager::buy ( const LLString buy_msg  ) 

Definition at line 462 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::buying (  ) 

Definition at line 496 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionBuy.

Referenced by LLFloaterBuyCurrencyUI::updateUI().

bool LLCurrencyUIManager::canBuy (  ) 

Definition at line 489 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::canCancel (  ) 

Definition at line 484 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionBuy.

Referenced by LLFloaterBuyLandUI::canClose(), and LLFloaterBuyCurrencyUI::canClose().

std::string LLCurrencyUIManager::errorMessage (  ) 

Definition at line 511 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mErrorMessage.

Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().

std::string LLCurrencyUIManager::errorURI (  ) 

Definition at line 516 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mErrorURI.

Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().

int LLCurrencyUIManager::getAmount (  ) 

Definition at line 419 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mUserCurrencyBuy.

Referenced by LLFloaterBuyLandUI::refreshUI(), LLFloaterBuyLandUI::runWebSitePrep(), LLFloaterBuyLandUI::startBuyPreConfirm(), LLFloaterBuyCurrencyUI::updateUI(), and LLFloaterBuyLandUI::updateWebSiteInfo().

int LLCurrencyUIManager::getEstimate (  ) 

Definition at line 438 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mSiteCurrencyEstimated, and LLCurrencyUIManager::Impl::mSiteCurrencyEstimatedCost.

Referenced by LLFloaterBuyLandUI::refreshUI(), LLFloaterBuyLandUI::runWebSitePrep(), and LLFloaterBuyLandUI::startBuyPreConfirm().

bool LLCurrencyUIManager::hasError (  ) 

Definition at line 506 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mError.

Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::updateUI().

bool LLCurrencyUIManager::inProcess (  ) 

Definition at line 479 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mTransactionType, and LLCurrencyUIManager::Impl::TransactionNone.

void LLCurrencyUIManager::prepare (  ) 

Definition at line 443 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::prepare().

Referenced by LLFloaterBuyLandUI::postBuild(), and LLFloaterBuyCurrencyUI::postBuild().

bool LLCurrencyUIManager::process (  ) 

Definition at line 454 of file llcurrencyuimanager.cpp.

References LLCurrencyUIManager::Impl::checkTransaction(), LLCurrencyUIManager::Impl::considerUpdateCurrency(), and impl.

Referenced by LLFloaterBuyLandUI::draw(), and LLFloaterBuyCurrencyUI::draw().

void LLCurrencyUIManager::setAmount ( int  ,
bool  noEstimate = false 
)

Definition at line 410 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().

void LLCurrencyUIManager::setEstimate ( int   ) 

Definition at line 429 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mCurrencyChanged, LLCurrencyUIManager::Impl::mSiteCurrencyEstimated, LLCurrencyUIManager::Impl::mSiteCurrencyEstimatedCost, and LLCurrencyUIManager::Impl::updateUI().

Referenced by LLFloaterBuyLandUI::finishWebSiteInfo().

void LLCurrencyUIManager::setZeroMessage ( const std::string &  message  ) 

Definition at line 424 of file llcurrencyuimanager.cpp.

References impl, and LLCurrencyUIManager::Impl::mZeroMessage.

Referenced by LLFloaterBuyLandUI::updateParcelInfo().

void LLCurrencyUIManager::updateUI ( bool  show = true  ) 

Definition at line 448 of file llcurrencyuimanager.cpp.

References impl, LLCurrencyUIManager::Impl::mHidden, and LLCurrencyUIManager::Impl::updateUI().

Referenced by LLFloaterBuyLandUI::refreshUI(), and LLFloaterBuyCurrencyUI::updateUI().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7