LLCurrencyUIManager::Impl Class Reference

Collaboration diagram for LLCurrencyUIManager::Impl:

Collaboration graph
[legend]

List of all members.

Public Types

enum  TransactionType { TransactionNone, TransactionCurrency, TransactionBuy }

Public Member Functions

 Impl (LLPanel &dialog)
virtual ~Impl ()
void updateCurrencyInfo ()
void finishCurrencyInfo ()
void startCurrencyBuy (const std::string &password)
void finishCurrencyBuy ()
void startTransaction (TransactionType type, const char *method, LLXMLRPCValue params)
bool checkTransaction ()
void setError (const std::string &message, const std::string &uri)
void clearError ()
bool considerUpdateCurrency ()
void currencyKey (S32)
void prepare ()
void updateUI ()

Static Public Member Functions

static void onCurrencyKey (LLLineEditor *caller, void *data)

Public Attributes

LLPanelmPanel
bool mHidden
bool mError
std::string mErrorMessage
std::string mErrorURI
std::string mZeroMessage
S32 mUserCurrencyBuy
bool mUserEnteredCurrencyBuy
bool mSiteCurrencyEstimated
S32 mSiteCurrencyEstimatedCost
std::string mSiteConfirm
bool mBought
TransactionType mTransactionType
LLXMLRPCTransactionmTransaction
bool mCurrencyChanged
LLFrameTimer mCurrencyKeyTimer


Detailed Description

Definition at line 54 of file llcurrencyuimanager.cpp.


Member Enumeration Documentation

Enumerator:
TransactionNone 
TransactionCurrency 
TransactionBuy 

Definition at line 81 of file llcurrencyuimanager.cpp.


Constructor & Destructor Documentation

LLCurrencyUIManager::Impl::Impl ( LLPanel dialog  ) 

Definition at line 119 of file llcurrencyuimanager.cpp.

LLCurrencyUIManager::Impl::~Impl (  )  [virtual]

Definition at line 131 of file llcurrencyuimanager.cpp.

References mTransaction.


Member Function Documentation

void LLCurrencyUIManager::Impl::updateCurrencyInfo (  ) 

void LLCurrencyUIManager::Impl::finishCurrencyInfo (  ) 

void LLCurrencyUIManager::Impl::startCurrencyBuy ( const std::string &  password  ) 

void LLCurrencyUIManager::Impl::finishCurrencyBuy (  ) 

Definition at line 215 of file llcurrencyuimanager.cpp.

References LLXMLRPCValue::asBool(), mBought, mTransaction, mUserCurrencyBuy, mUserEnteredCurrencyBuy, LLXMLRPCTransaction::responseValue(), and setError().

Referenced by checkTransaction().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurrencyUIManager::Impl::startTransaction ( TransactionType  type,
const char *  method,
LLXMLRPCValue  params 
)

Definition at line 235 of file llcurrencyuimanager.cpp.

References clearError(), LLAppViewer::getHelperURI(), LLAppViewer::instance(), mTransaction, and mTransactionType.

Referenced by startCurrencyBuy(), and updateCurrencyInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLCurrencyUIManager::Impl::checkTransaction (  ) 

void LLCurrencyUIManager::Impl::setError ( const std::string &  message,
const std::string &  uri 
)

Definition at line 289 of file llcurrencyuimanager.cpp.

References mError, mErrorMessage, and mErrorURI.

Referenced by checkTransaction(), finishCurrencyBuy(), and finishCurrencyInfo().

Here is the caller graph for this function:

void LLCurrencyUIManager::Impl::clearError (  ) 

Definition at line 297 of file llcurrencyuimanager.cpp.

References mError, mErrorMessage, and mErrorURI.

Referenced by startTransaction().

Here is the caller graph for this function:

bool LLCurrencyUIManager::Impl::considerUpdateCurrency (  ) 

Definition at line 304 of file llcurrencyuimanager.cpp.

References CURRENCY_ESTIMATE_FREQUENCY, LLFrameTimer::getElapsedTimeF32(), mCurrencyChanged, mCurrencyKeyTimer, mTransaction, and updateCurrencyInfo().

Referenced by LLCurrencyUIManager::process().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurrencyUIManager::Impl::currencyKey ( S32  value  ) 

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurrencyUIManager::Impl::prepare (  ) 

Definition at line 350 of file llcurrencyuimanager.cpp.

References LLView::getChild(), mPanel, onCurrencyKey(), LLLineEditor::prevalidateNonNegativeS32(), LLUICtrl::setCallbackUserData(), LLLineEditor::setKeystrokeCallback(), and LLLineEditor::setPrevalidate().

Referenced by LLCurrencyUIManager::prepare().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurrencyUIManager::Impl::updateUI (  ) 


Member Data Documentation

Definition at line 60 of file llcurrencyuimanager.cpp.

Referenced by currencyKey(), prepare(), and updateUI().

Definition at line 62 of file llcurrencyuimanager.cpp.

Referenced by LLCurrencyUIManager::updateUI(), and updateUI().

Definition at line 64 of file llcurrencyuimanager.cpp.

Referenced by clearError(), LLCurrencyUIManager::hasError(), and setError().

Definition at line 65 of file llcurrencyuimanager.cpp.

Referenced by clearError(), LLCurrencyUIManager::errorMessage(), and setError().

Definition at line 66 of file llcurrencyuimanager.cpp.

Referenced by clearError(), LLCurrencyUIManager::errorURI(), and setError().

Definition at line 68 of file llcurrencyuimanager.cpp.

Referenced by LLCurrencyUIManager::setZeroMessage(), and updateUI().

Definition at line 92 of file llcurrencyuimanager.cpp.

Referenced by considerUpdateCurrency(), and currencyKey().


The documentation for this class was generated from the following file:

Generated on Fri May 16 08:43:33 2008 for SecondLife by  doxygen 1.5.5