aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmutelist.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/llmutelist.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 'linden/indra/newview/llmutelist.h')
-rw-r--r--linden/indra/newview/llmutelist.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/llmutelist.h b/linden/indra/newview/llmutelist.h
index fa85924..e1a87c8 100644
--- a/linden/indra/newview/llmutelist.h
+++ b/linden/indra/newview/llmutelist.h
@@ -79,12 +79,17 @@ public:
79 U32 mFlags; // flags pertaining to this mute entry 79 U32 mFlags; // flags pertaining to this mute entry
80}; 80};
81 81
82class LLMuteList 82class LLMuteList : public LLSingleton<LLMuteList>
83{ 83{
84public: 84public:
85 LLMuteList(); 85 LLMuteList();
86 ~LLMuteList(); 86 ~LLMuteList();
87 87
88 // Implemented locally so that we can perform some delayed initialization.
89 // Callers should be careful to call this one and not LLSingleton<LLMuteList>::getInstance()
90 // which would circumvent that mechanism. -MG
91 static LLMuteList* getInstance();
92
88 void addObserver(LLMuteListObserver* observer); 93 void addObserver(LLMuteListObserver* observer);
89 void removeObserver(LLMuteListObserver* observer); 94 void removeObserver(LLMuteListObserver* observer);
90 95
@@ -170,6 +175,5 @@ public:
170 virtual void onChange() = 0; 175 virtual void onChange() = 0;
171}; 176};
172 177
173extern LLMuteList *gMuteListp;
174 178
175#endif //LL_MUTELIST_H 179#endif //LL_MUTELIST_H