llfloaterbuycontents.h

Go to the documentation of this file.
00001 
00038 #ifndef LL_LLFLOATERBUYCONTENTS_H
00039 #define LL_LLFLOATERBUYCONTENTS_H
00040 
00041 #include "llfloater.h"
00042 #include "llvoinventorylistener.h"
00043 #include "llinventory.h"
00044 
00045 class LLViewerObject;
00046 class LLObjectSelection;
00047 
00048 class LLFloaterBuyContents
00049 : public LLFloater, public LLVOInventoryListener
00050 {
00051 public:
00052         static void show(const LLSaleInfo& sale_info);
00053 
00054 protected:
00055         LLFloaterBuyContents();
00056         ~LLFloaterBuyContents();
00057 
00058         void requestObjectInventories();
00059         /*virtual*/ void inventoryChanged(LLViewerObject* obj,
00060                                                                  InventoryObjectList* inv,
00061                                                                  S32 serial_num,
00062                                                                  void* data);
00063 
00064         static void onClickBuy(void*);
00065         static void onClickCancel(void*);
00066 
00067 protected:
00068         static LLFloaterBuyContents* sInstance;
00069 
00070         LLHandle<LLObjectSelection> mObjectSelection;
00071         LLSaleInfo mSaleInfo;
00072 };
00073 
00074 #endif

Generated on Thu Jul 1 06:08:31 2010 for Second Life Viewer by  doxygen 1.4.7