diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llmutelist.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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.h | 8 |
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 | ||
82 | class LLMuteList | 82 | class LLMuteList : public LLSingleton<LLMuteList> |
83 | { | 83 | { |
84 | public: | 84 | public: |
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 | ||
173 | extern LLMuteList *gMuteListp; | ||
174 | 178 | ||
175 | #endif //LL_MUTELIST_H | 179 | #endif //LL_MUTELIST_H |