llfloateropenobject.h

Go to the documentation of this file.
00001 
00032 /*
00033  * Shows the contents of an object and their permissions when you
00034  * click "Buy..." on an object with "Sell Contents" checked.
00035  */
00036 
00037 #ifndef LL_LLFLOATEROPENOBJECT_H
00038 #define LL_LLFLOATEROPENOBJECT_H
00039 
00040 #include "llfloater.h"
00041 
00042 class LLObjectSelection;
00043 class LLPanelInventory;
00044 
00045 class LLFloaterOpenObject
00046 : public LLFloater
00047 {
00048 public:
00049         static void show();
00050         static void dirty();
00051         
00052         struct LLCatAndWear
00053         {
00054                 LLUUID mCatID;
00055                 bool mWear;
00056         };
00057 
00058 protected:
00059         LLFloaterOpenObject();
00060         ~LLFloaterOpenObject();
00061 
00062         void refresh();
00063         void draw();
00064 
00065         void moveToInventory(bool wear);
00066 
00067         static void onClickMoveToInventory(void* data);
00068         static void onClickMoveAndWear(void* data);
00069         static void callbackMoveInventory(S32 result, void* data);
00070         static void* createPanelInventory(void* data);
00071 
00072 protected:
00073         static LLFloaterOpenObject* sInstance;
00074 
00075         LLPanelInventory*       mPanelInventory;
00076         LLHandle<LLObjectSelection> mObjectSelection;
00077         BOOL mDirty;
00078 };
00079 
00080 #endif

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