From 9ec432034dc3c45d7ce763eb02dae4cc7f6b8da8 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Sun, 21 Jun 2009 08:04:56 +0000 Subject: merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3 ignore-dead-branch --- indra/newview/llfloaterchat.h | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'indra/newview/llfloaterchat.h') diff --git a/indra/newview/llfloaterchat.h b/indra/newview/llfloaterchat.h index b5393866b8..2bae4ea0c2 100644 --- a/indra/newview/llfloaterchat.h +++ b/indra/newview/llfloaterchat.h @@ -40,19 +40,18 @@ #include "llfloater.h" #include "lllogchat.h" -class LLButton; + class LLChat; -class LLComboBox; -class LLLineEditor; class LLViewerTextEditor; class LLMessageSystem; class LLUUID; class LLCheckBoxCtrl; class LLPanelActiveSpeakers; class LLLogChat; +class LLVector3d; +class LLWindow; -class LLFloaterChat - : public LLFloater, public LLUISingleton +class LLFloaterChat : public LLFloater { public: LLFloaterChat(const LLSD& seed); @@ -67,14 +66,16 @@ public: void updateConsoleVisibility(); static void setHistoryCursorAndScrollToEnd(); - + + // *TODO:Skinning - move these to LLChat (or LLViewerChat?) // Add chat to console and history list. // Color based on source, type, distance. static void addChat(const LLChat& chat, BOOL from_im = FALSE, BOOL local_agent = FALSE); - // Add chat to history alone. static void addChatHistory(const LLChat& chat, bool log_to_file = true); + static void triggerAlerts(const std::string& text); + static void onClickMute(void *data); static void onClickToggleShowMute(LLUICtrl* caller, void *data); static void onClickToggleActiveSpeakers(void* userdata); @@ -82,12 +83,9 @@ public: static void loadHistory(); static void* createSpeakersPanel(void* data); static void* createChatPanel(void* data); - - // 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); - + + static LLFloaterChat* getInstance(); // *TODO:Skinning Deprecate + LLPanelActiveSpeakers* mPanel; BOOL mScrolledToEnd; }; -- cgit v1.2.3