summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchat.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterchat.h')
-rw-r--r--indra/newview/llfloaterchat.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llfloaterchat.h b/indra/newview/llfloaterchat.h
index 58fa607b38..c8ce7c0b55 100644
--- a/indra/newview/llfloaterchat.h
+++ b/indra/newview/llfloaterchat.h
@@ -50,7 +50,7 @@ class LLCheckBoxCtrl;
class LLPanelActiveSpeakers;
class LLFloaterChat
-: public LLFloater, public LLUISingleton<LLFloaterChat>
+ : public LLFloater, public LLUISingleton<LLFloaterChat, LLFloaterChat>
{
public:
LLFloaterChat(const LLSD& seed);
@@ -78,9 +78,12 @@ public:
static void loadHistory();
static void* createSpeakersPanel(void* data);
static void* createChatPanel(void* data);
- static void hideInstance(const LLSD& id);
-protected:
+ // visibility policy for LLUISingleton
+ static bool visible(LLFloater* instance, const LLSD& key);
+ static void show(LLFloater* instance, const LLSD& key);
+ static void hide(LLFloater* instance, const LLSD& key);
+
LLPanelActiveSpeakers* mPanel;
BOOL mScrolledToEnd;
};