SubscriptionHandler -> SubscriptionManager

This commit is contained in:
Chris Danford
2006-01-06 20:19:30 +00:00
parent d55ae24611
commit 8b0c7ac36e
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ void LocalizedString::RegisterLocalizer( RString (*pfnLocalizer)(const RString&,
#include "SubscriptionManager.h" #include "SubscriptionManager.h"
template<> template<>
SubscriptionHandler<LocalizedString> g_Subscribers; SubscriptionManager<LocalizedString> g_Subscribers;
void LocalizedString::RefreshLocalizedStrings() void LocalizedString::RefreshLocalizedStrings()
{ {
+1 -1
View File
@@ -9,7 +9,7 @@
REGISTER_CLASS_TRAITS( LuaReference, new LuaReference(*pCopy) ) REGISTER_CLASS_TRAITS( LuaReference, new LuaReference(*pCopy) )
SubscriptionHandler<LuaReference> g_Subscribers; SubscriptionManager<LuaReference> g_Subscribers;
LuaReference::LuaReference() LuaReference::LuaReference()
{ {
+1 -1
View File
@@ -7,7 +7,7 @@
#include "MessageManager.h" #include "MessageManager.h"
#include "SubscriptionManager.h" #include "SubscriptionManager.h"
static SubscriptionHandler<IPreference> m_Subscribers; static SubscriptionManager<IPreference> m_Subscribers;
IPreference::IPreference( const CString& sName ): IPreference::IPreference( const CString& sName ):
m_sName( sName ) m_sName( sName )
+1 -1
View File
@@ -8,7 +8,7 @@
// Since this class has only POD types and no constructor, there's no // Since this class has only POD types and no constructor, there's no
// initialize order problem. // initialize order problem.
template<class T> template<class T>
class SubscriptionHandler class SubscriptionManager
{ {
public: public:
// TRICKY: If we make this a global instead of a global pointer, // TRICKY: If we make this a global instead of a global pointer,
+1 -1
View File
@@ -50,7 +50,7 @@ static IniFile *g_pIniMetrics;
// For self-registering metrics // For self-registering metrics
// //
#include "SubscriptionManager.h" #include "SubscriptionManager.h"
static SubscriptionHandler<IThemeMetric> g_Subscribers; static SubscriptionManager<IThemeMetric> g_Subscribers;
void ThemeManager::Subscribe( IThemeMetric *p ) void ThemeManager::Subscribe( IThemeMetric *p )
{ {