SubscriptionHandler -> SubscriptionManager
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 )
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user