aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateractivespeakers.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloateractivespeakers.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloateractivespeakers.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloateractivespeakers.h b/linden/indra/newview/llfloateractivespeakers.h
index 55acbd7..0aa4de9 100644
--- a/linden/indra/newview/llfloateractivespeakers.h
+++ b/linden/indra/newview/llfloateractivespeakers.h
@@ -156,7 +156,7 @@ protected:
156 virtual void updateSpeakerList(); 156 virtual void updateSpeakerList();
157}; 157};
158 158
159class LLActiveSpeakerMgr : public LLSpeakerMgr 159class LLActiveSpeakerMgr : public LLSpeakerMgr, public LLSingleton<LLActiveSpeakerMgr>
160{ 160{
161public: 161public:
162 LLActiveSpeakerMgr(); 162 LLActiveSpeakerMgr();
@@ -164,7 +164,7 @@ protected:
164 virtual void updateSpeakerList(); 164 virtual void updateSpeakerList();
165}; 165};
166 166
167class LLLocalSpeakerMgr : public LLSpeakerMgr 167class LLLocalSpeakerMgr : public LLSpeakerMgr, public LLSingleton<LLLocalSpeakerMgr>
168{ 168{
169public: 169public:
170 LLLocalSpeakerMgr(); 170 LLLocalSpeakerMgr();
@@ -186,6 +186,7 @@ public:
186 virtual ~LLFloaterActiveSpeakers(); 186 virtual ~LLFloaterActiveSpeakers();
187 187
188 /*virtual*/ BOOL postBuild(); 188 /*virtual*/ BOOL postBuild();
189 /*virtual*/ void onOpen();
189 /*virtual*/ void onClose(bool app_quitting); 190 /*virtual*/ void onClose(bool app_quitting);
190 /*virtual*/ void draw(); 191 /*virtual*/ void draw();
191 192
@@ -223,6 +224,7 @@ public:
223 static void onClickProfile(void* user_data); 224 static void onClickProfile(void* user_data);
224 static void onDoubleClickSpeaker(void* user_data); 225 static void onDoubleClickSpeaker(void* user_data);
225 static void onSelectSpeaker(LLUICtrl* source, void* user_data); 226 static void onSelectSpeaker(LLUICtrl* source, void* user_data);
227 static void onSortChanged(void* user_data);
226 static void onModeratorMuteVoice(LLUICtrl* ctrl, void* user_data); 228 static void onModeratorMuteVoice(LLUICtrl* ctrl, void* user_data);
227 static void onModeratorMuteText(LLUICtrl* ctrl, void* user_data); 229 static void onModeratorMuteText(LLUICtrl* ctrl, void* user_data);
228 static void onChangeModerationMode(LLUICtrl* ctrl, void* user_data); 230 static void onChangeModerationMode(LLUICtrl* ctrl, void* user_data);
@@ -290,7 +292,5 @@ protected:
290 LLPointer<SpeakerClearListener> mSpeakerClearListener; 292 LLPointer<SpeakerClearListener> mSpeakerClearListener;
291}; 293};
292 294
293extern LLLocalSpeakerMgr* gLocalSpeakerMgr;
294extern LLActiveSpeakerMgr* gActiveChannelSpeakerMgr;
295 295
296#endif // LL_LLFLOATERACTIVESPEAKERS_H 296#endif // LL_LLFLOATERACTIVESPEAKERS_H