summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbump.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterbump.h')
-rw-r--r--indra/newview/llfloaterbump.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/indra/newview/llfloaterbump.h b/indra/newview/llfloaterbump.h
index eb15671d41..f55a9e6bc5 100644
--- a/indra/newview/llfloaterbump.h
+++ b/indra/newview/llfloaterbump.h
@@ -40,18 +40,17 @@ class LLMeanCollisionData;
class LLScrollListCtrl;
class LLFloaterBump
-: public LLFloater
+: public LLFloater, public LLFloaterSingleton<LLFloaterBump>
{
-public:
- static void show(void *);
-
-private:
- LLFloaterBump();
+ friend class LLUISingleton<LLFloaterBump, VisibilityPolicy<LLFloater> >;
+protected:
+ LLFloaterBump(const LLSD& key);
virtual ~LLFloaterBump();
- static void add(LLScrollListCtrl* list, LLMeanCollisionData *mcd);
-private:
- static LLFloaterBump* sInstance;
+ void add(LLScrollListCtrl* list, LLMeanCollisionData *mcd);
+
+public:
+ /*virtual*/ void onOpen(const LLSD& key);
};
#endif