diff options
author | Eugene Sandulenko | 2010-10-03 13:25:36 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-13 00:09:32 +0000 |
commit | 063cb5d84ca5846ac0eff9388759a9b6662e764f (patch) | |
tree | 74193513e5a4a2d8d5f415597b0267339be89de3 /engines/sword25/gfx/animationtemplateregistry.h | |
parent | 54ccc8f4c906cd4f84c955581c0368886a7a9c78 (diff) | |
download | scummvm-rg350-063cb5d84ca5846ac0eff9388759a9b6662e764f.tar.gz scummvm-rg350-063cb5d84ca5846ac0eff9388759a9b6662e764f.tar.bz2 scummvm-rg350-063cb5d84ca5846ac0eff9388759a9b6662e764f.zip |
SWORD25: Enforced code naming conventions in math/*
svn-id: r53392
Diffstat (limited to 'engines/sword25/gfx/animationtemplateregistry.h')
-rw-r--r-- | engines/sword25/gfx/animationtemplateregistry.h | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/engines/sword25/gfx/animationtemplateregistry.h b/engines/sword25/gfx/animationtemplateregistry.h index e4f7e9d304..256cbab8cd 100644 --- a/engines/sword25/gfx/animationtemplateregistry.h +++ b/engines/sword25/gfx/animationtemplateregistry.h @@ -35,10 +35,6 @@ #ifndef SWORD25_ANIMATIONTEMPLATEREGISTRY_H #define SWORD25_ANIMATIONTEMPLATEREGISTRY_H -// ----------------------------------------------------------------------------- -// Includes -// ----------------------------------------------------------------------------- - #include "sword25/kernel/common.h" #include "sword25/kernel/persistable.h" #include "sword25/kernel/objectregistry.h" @@ -47,31 +43,24 @@ namespace Sword25 { -// ----------------------------------------------------------------------------- -// Forward Deklarationen -// ----------------------------------------------------------------------------- - class AnimationTemplate; -// ----------------------------------------------------------------------------- -// Klassendeklaration -// ----------------------------------------------------------------------------- - class AnimationTemplateRegistry : public ObjectRegistry<AnimationTemplate>, public Persistable { public: - static AnimationTemplateRegistry &GetInstance() { - if (!m_InstancePtr.get()) m_InstancePtr.reset(new AnimationTemplateRegistry); - return *m_InstancePtr.get(); + static AnimationTemplateRegistry &getInstance() { + if (!_instancePtr.get()) + _instancePtr.reset(new AnimationTemplateRegistry); + return *_instancePtr.get(); } - virtual bool persist(OutputPersistenceBlock &Writer); - virtual bool unpersist(InputPersistenceBlock &Reader); + virtual bool persist(OutputPersistenceBlock &writer); + virtual bool unpersist(InputPersistenceBlock &reader); private: - virtual void LogErrorLn(const char *Message) const; - virtual void LogWarningLn(const char *Message) const; + virtual void logErrorLn(const char *message) const; + virtual void logWarningLn(const char *message) const; - static Common::ScopedPtr<AnimationTemplateRegistry> m_InstancePtr; + static Common::ScopedPtr<AnimationTemplateRegistry> _instancePtr; }; } // End of namespace Sword25 |