diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-08-05 16:10:15 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-08-05 16:10:15 -0400 |
commit | 07129bf928f79246849e66b396fab44a7a228216 (patch) | |
tree | e4e19b342540450ff84dad75f90d5acb5b3d6269 /indra/newview/llfloateropenobject.h | |
parent | 03ebc43132331b9a8dcb3c418ec9c319a6beddda (diff) | |
parent | dc62495da6e5c153c0df57fdbce6b0f40c0208f2 (diff) |
Merge recent changes
Diffstat (limited to 'indra/newview/llfloateropenobject.h')
-rw-r--r-- | indra/newview/llfloateropenobject.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/indra/newview/llfloateropenobject.h b/indra/newview/llfloateropenobject.h index 0097a85690..0df3780ac4 100644 --- a/indra/newview/llfloateropenobject.h +++ b/indra/newview/llfloateropenobject.h @@ -46,9 +46,10 @@ class LLPanelInventory; class LLFloaterOpenObject : public LLFloater { + friend class LLFloaterReg; public: - static void show(); - static void dirty(); + + void dirty(); struct LLCatAndWear { @@ -57,20 +58,25 @@ public: }; protected: - LLFloaterOpenObject(); - ~LLFloaterOpenObject(); + /*virtual*/ BOOL postBuild(); void refresh(); void draw(); + virtual void onOpen(const LLSD& key); +// virtual void onClose(); void moveToInventory(bool wear); - static void onClickMoveToInventory(void* data); - static void onClickMoveAndWear(void* data); + void onClickMoveToInventory(); + void onClickMoveAndWear(); static void callbackMoveInventory(S32 result, void* data); +private: + + LLFloaterOpenObject(const LLSD& key); + ~LLFloaterOpenObject(); + protected: - static LLFloaterOpenObject* sInstance; LLPanelInventory* mPanelInventory; LLSafeHandle<LLObjectSelection> mObjectSelection; |