LLFloaterBuy Class Reference

#include <llfloaterbuy.h>

Inheritance diagram for LLFloaterBuy:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterBuy:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void show (const LLSaleInfo &sale_info)

Protected Member Functions

 LLFloaterBuy ()
 ~LLFloaterBuy ()
void reset ()
void requestObjectInventories ()
void inventoryChanged (LLViewerObject *obj, InventoryObjectList *inv, S32 serial_num, void *data)

Static Protected Member Functions

static void onClickBuy (void *)
static void onClickCancel (void *)

Private Attributes

LLSafeHandle< LLObjectSelectionmObjectSelection
LLSaleInfo mSaleInfo

Static Private Attributes

static LLFloaterBuysInstance = NULL


Detailed Description

Definition at line 50 of file llfloaterbuy.h.


Constructor & Destructor Documentation

LLFloaterBuy::LLFloaterBuy (  )  [protected]

Definition at line 54 of file llfloaterbuy.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childDisable(), LLPanel::childSetAction(), LLSingleton< LLUICtrlFactory >::getInstance(), onClickBuy(), onClickCancel(), and LLPanel::setDefaultBtn().

Referenced by show().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFloaterBuy::~LLFloaterBuy (  )  [protected]

Definition at line 68 of file llfloaterbuy.cpp.

References NULL, and sInstance.


Member Function Documentation

void LLFloaterBuy::show ( const LLSaleInfo sale_info  )  [static]

void LLFloaterBuy::reset (  )  [protected]

Definition at line 73 of file llfloaterbuy.cpp.

References LLScrollListCtrl::deleteAllItems().

Referenced by show().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuy::requestObjectInventories (  )  [protected]

void LLFloaterBuy::inventoryChanged ( LLViewerObject obj,
InventoryObjectList inv,
S32  serial_num,
void *  data 
) [protected, virtual]

void LLFloaterBuy::onClickBuy ( void *   )  [static, protected]

Definition at line 295 of file llfloaterbuy.cpp.

References LLAssetType::AT_OBJECT, LLFloater::close(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), gInventory, llendl, llinfos, mSaleInfo, LLSelectMgr::sendBuy(), and sInstance.

Referenced by LLFloaterBuy().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterBuy::onClickCancel ( void *   )  [static, protected]

Definition at line 317 of file llfloaterbuy.cpp.

References LLFloater::close(), and sInstance.

Referenced by LLFloaterBuy().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

LLFloaterBuy * LLFloaterBuy::sInstance = NULL [static, private]

Floater that appears when buying an object, giving a preview of its contents and their permissions.

Definition at line 72 of file llfloaterbuy.h.

Referenced by onClickBuy(), onClickCancel(), show(), and ~LLFloaterBuy().

Definition at line 74 of file llfloaterbuy.h.

Referenced by show().

Definition at line 75 of file llfloaterbuy.h.

Referenced by onClickBuy(), and show().


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

Generated on Fri May 16 08:45:00 2008 for SecondLife by  doxygen 1.5.5