LLFloaterPay Class Reference

#include <llgivemoney.h>

Inheritance diagram for LLFloaterPay:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterPay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterPay (const std::string &name, money_callback callback, const LLUUID &target_id, BOOL target_is_object)
virtual ~LLFloaterPay ()

Static Public Member Functions

static void payViaObject (money_callback callback, const LLUUID &object_id)
static void payDirectly (money_callback callback, const LLUUID &target_id, BOOL is_group)

Protected Attributes

std::vector< LLGiveMoneyInfo * > mCallbackData
money_callback mCallback
LLTextBoxmObjectNameText
LLUUID mTargetUUID
BOOL mTargetIsObject
BOOL mTargetIsGroup
BOOL mHaveName
LLButtonmQuickPayButton [MAX_PAY_BUTTONS]
LLGiveMoneyInfomQuickPayInfo [MAX_PAY_BUTTONS]
LLSafeHandle< LLObjectSelectionmObjectSelection

Static Protected Attributes

static S32 sLastAmount = 0

Private Member Functions

void give (S32 amount)
void finishPayUI (const LLUUID &target_id, BOOL is_group)

Static Private Member Functions

static void onCancel (void *data)
static void onKeystroke (LLLineEditor *editor, void *data)
static void onGive (void *data)
static void processPayPriceReply (LLMessageSystem *msg, void **userdata)
static void onCacheOwnerName (const LLUUID &owner_id, const char *firstname, const char *lastname, BOOL is_group, void *userdata)


Detailed Description

Definition at line 52 of file llgivemoney.h.


Constructor & Destructor Documentation

LLFloaterPay::LLFloaterPay ( const std::string &  name,
money_callback  callback,
const LLUUID target_id,
BOOL  target_is_object 
)

LLFloaterPay::~LLFloaterPay (  )  [virtual]

Definition at line 180 of file llgivemoney.cpp.

References LLCacheName::cancelCallback(), gCacheName, mCallbackData, mTargetUUID, and onCacheOwnerName().

Here is the call graph for this function:


Member Function Documentation

void LLFloaterPay::payViaObject ( money_callback  callback,
const LLUUID object_id 
) [static]

void LLFloaterPay::payDirectly ( money_callback  callback,
const LLUUID target_id,
BOOL  is_group 
) [static]

Definition at line 356 of file llgivemoney.cpp.

References LLPanel::childSetVisible(), FALSE, finishPayUI(), i, LLFloaterPay(), MAX_PAY_BUTTONS, mQuickPayButton, S32, LLView::setVisible(), and TRUE.

Referenced by complete_give_money(), and handle_pay_by_id().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPay::onCancel ( void *  data  )  [static, private]

Definition at line 415 of file llgivemoney.cpp.

Referenced by LLFloaterPay().

Here is the caller graph for this function:

void LLFloaterPay::onKeystroke ( LLLineEditor editor,
void *  data 
) [static, private]

Definition at line 425 of file llgivemoney.cpp.

Referenced by LLFloaterPay().

Here is the caller graph for this function:

void LLFloaterPay::onGive ( void *  data  )  [static, private]

Definition at line 437 of file llgivemoney.cpp.

References LLFloater::close(), give(), LLGiveMoneyInfo::mAmount, and LLGiveMoneyInfo::mFloater.

Referenced by LLFloaterPay().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPay::give ( S32  amount  )  [private]

void LLFloaterPay::processPayPriceReply ( LLMessageSystem msg,
void **  userdata 
) [static, private]

void LLFloaterPay::onCacheOwnerName ( const LLUUID owner_id,
const char *  firstname,
const char *  lastname,
BOOL  is_group,
void *  userdata 
) [static, private]

Definition at line 390 of file llgivemoney.cpp.

Referenced by finishPayUI(), and ~LLFloaterPay().

Here is the caller graph for this function:

void LLFloaterPay::finishPayUI ( const LLUUID target_id,
BOOL  is_group 
) [private]

Definition at line 376 of file llgivemoney.cpp.

References LLPanel::childSetFocus(), gCacheName, LLCacheName::get(), mTargetIsGroup, onCacheOwnerName(), LLLineEditor::selectAll(), and TRUE.

Referenced by payDirectly().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

std::vector<LLGiveMoneyInfo*> LLFloaterPay::mCallbackData [protected]

Definition at line 87 of file llgivemoney.h.

Referenced by LLFloaterPay(), and ~LLFloaterPay().

Definition at line 88 of file llgivemoney.h.

Referenced by give().

Definition at line 89 of file llgivemoney.h.

Definition at line 90 of file llgivemoney.h.

Referenced by give(), and ~LLFloaterPay().

Definition at line 91 of file llgivemoney.h.

Referenced by give().

Definition at line 92 of file llgivemoney.h.

Referenced by finishPayUI(), and give().

Definition at line 93 of file llgivemoney.h.

Definition at line 95 of file llgivemoney.h.

Referenced by LLFloaterPay(), and payDirectly().

Definition at line 96 of file llgivemoney.h.

Referenced by LLFloaterPay().

Definition at line 98 of file llgivemoney.h.

Referenced by give(), LLFloaterPay(), and payViaObject().

S32 LLFloaterPay::sLastAmount = 0 [static, protected]

---------------------------------------------------------------------------- Class LLFloaterPay ----------------------------------------------------------------------------

Definition at line 100 of file llgivemoney.h.

Referenced by give(), and LLFloaterPay().


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

Generated on Fri May 16 08:46:12 2008 for SecondLife by  doxygen 1.5.5