diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-04-01 17:45:04 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-04-01 17:45:04 +0000 |
commit | 941cb9f4124c9ccfd5c845bc94639fa46df12c3d (patch) | |
tree | e0f525e7bd6cc76d89b2df69c6f1554d191561e8 /indra/newview/llmutelist.h | |
parent | ecec626dec93524f7ef5831a5ba344d6449b99bc (diff) |
merge release@83343 skinning-1-merge@83714 -> release
QAR-424
Diffstat (limited to 'indra/newview/llmutelist.h')
-rw-r--r-- | indra/newview/llmutelist.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llmutelist.h b/indra/newview/llmutelist.h index 413a2933b3..dc69e98286 100644 --- a/indra/newview/llmutelist.h +++ b/indra/newview/llmutelist.h @@ -79,12 +79,17 @@ public: U32 mFlags; // flags pertaining to this mute entry }; -class LLMuteList +class LLMuteList : public LLSingleton<LLMuteList> { public: LLMuteList(); ~LLMuteList(); + // Implemented locally so that we can perform some delayed initialization. + // Callers should be careful to call this one and not LLSingleton<LLMuteList>::getInstance() + // which would circumvent that mechanism. -MG + static LLMuteList* getInstance(); + void addObserver(LLMuteListObserver* observer); void removeObserver(LLMuteListObserver* observer); @@ -170,6 +175,5 @@ public: virtual void onChange() = 0; }; -extern LLMuteList *gMuteListp; #endif //LL_MUTELIST_H |