summaryrefslogtreecommitdiff
path: root/indra/newview/llfloateropenobject.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/llfloateropenobject.h
Print done when done.
Diffstat (limited to 'indra/newview/llfloateropenobject.h')
-rw-r--r--indra/newview/llfloateropenobject.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/indra/newview/llfloateropenobject.h b/indra/newview/llfloateropenobject.h
new file mode 100644
index 0000000000..8de8832ca9
--- /dev/null
+++ b/indra/newview/llfloateropenobject.h
@@ -0,0 +1,56 @@
+/**
+ * @file llfloateropenobject.h
+ * @brief LLFloaterOpenObject class definition
+ *
+ * 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_LLFLOATEROPENOBJECT_H
+#define LL_LLFLOATEROPENOBJECT_H
+
+#include "llfloater.h"
+
+
+
+class LLPanelInventory;
+
+class LLFloaterOpenObject
+: public LLFloater
+{
+public:
+ static void show();
+ static void dirty();
+
+ struct LLCatAndWear
+ {
+ LLUUID mCatID;
+ bool mWear;
+ };
+
+protected:
+ LLFloaterOpenObject();
+ ~LLFloaterOpenObject();
+
+ void refresh();
+ void draw();
+
+ static void onClickMoveToInventory(void* data);
+ static void onClickMoveAndWear(void* data);
+ static void moveToInventory(bool wear);
+ static void callbackMoveInventory(S32 result, void* data);
+ static void* createPanelInventory(void* data);
+
+protected:
+ static LLFloaterOpenObject* sInstance;
+
+ LLPanelInventory* mPanelInventory;
+ BOOL mDirty;
+};
+
+#endif