From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/indra/newview/llgroupmgr.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'linden/indra/newview/llgroupmgr.h') diff --git a/linden/indra/newview/llgroupmgr.h b/linden/indra/newview/llgroupmgr.h index 89be4bf..709bfd8 100644 --- a/linden/indra/newview/llgroupmgr.h +++ b/linden/indra/newview/llgroupmgr.h @@ -295,7 +295,7 @@ struct LLRoleActionSet std::vector mActions; }; -class LLGroupMgr +class LLGroupMgr : public LLSingleton { LOG_CLASS(LLGroupMgr); @@ -350,19 +350,18 @@ public: static void debugClearAllGroups(void*); void clearGroups(); void clearGroupData(const LLUUID& group_id); -protected: + +private: void notifyObservers(LLGroupChange gc); void addGroup(LLGroupMgrGroupData* group_datap); LLGroupMgrGroupData* createGroupData(const LLUUID &id); -protected: typedef std::multimap observer_multimap_t; observer_multimap_t mObservers; typedef std::map group_map_t; group_map_t mGroups; }; -extern LLGroupMgr* gGroupMgr; #endif -- cgit v1.1