diff options
author | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2007-01-02 08:33:20 +0000 |
commit | 420b91db29485df39fd6e724e782c449158811cb (patch) | |
tree | b471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/llfloaterbuycontents.h |
Print done when done.
Diffstat (limited to 'indra/newview/llfloaterbuycontents.h')
-rw-r--r-- | indra/newview/llfloaterbuycontents.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/indra/newview/llfloaterbuycontents.h b/indra/newview/llfloaterbuycontents.h new file mode 100644 index 0000000000..1f834da668 --- /dev/null +++ b/indra/newview/llfloaterbuycontents.h @@ -0,0 +1,49 @@ +/** + * @file llfloaterbuycontents.h + * @author James Cook + * @brief LLFloaterBuyContents class header file + * + * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +/** + * Shows the contents of an object and their permissions when you + * click "Buy..." on an object with "Sell Contents" checked. + */ + +#ifndef LL_LLFLOATERBUYCONTENTS_H +#define LL_LLFLOATERBUYCONTENTS_H + +#include "llfloater.h" +#include "llvoinventorylistener.h" +#include "llinventory.h" + +class LLViewerObject; + +class LLFloaterBuyContents +: public LLFloater, public LLVOInventoryListener +{ +public: + static void show(const LLSaleInfo& sale_info); + +protected: + LLFloaterBuyContents(); + ~LLFloaterBuyContents(); + + void requestObjectInventories(); + /*virtual*/ void inventoryChanged(LLViewerObject* obj, + InventoryObjectList* inv, + S32 serial_num, + void* data); + + static void onClickBuy(void*); + static void onClickCancel(void*); + +protected: + static LLFloaterBuyContents* sInstance; + + LLSaleInfo mSaleInfo; +}; + +#endif |