From 6629efc676ca48e958dcfa0ee4e66e6aba1c6597 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 19 Oct 2010 21:03:33 +0000 Subject: SWORD25: Enforced code formatting rules in rest of the engine svn-id: r53626 --- engines/sword25/kernel/resource.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines/sword25/kernel/resource.h') diff --git a/engines/sword25/kernel/resource.h b/engines/sword25/kernel/resource.h index 6d77c3dd6e..27003641dd 100644 --- a/engines/sword25/kernel/resource.h +++ b/engines/sword25/kernel/resource.h @@ -62,7 +62,7 @@ public: * Prevents the resource from being released. * @remarks This method allows a resource to be locked multiple times. **/ - void AddReference() { + void addReference() { ++_refCount; } @@ -77,7 +77,7 @@ public: * Returns the current lock count for the resource * @return The current lock count **/ - int GetLockCount() const { + int getLockCount() const { return _refCount; } @@ -91,14 +91,14 @@ public: /** * Returns the hash of the filename of a resource */ - uint GetFileNameHash() const { + uint getFileNameHash() const { return _fileNameHash; } /** * Returns a resource's type */ - uint GetType() const { + uint getType() const { return _type; } @@ -106,10 +106,10 @@ protected: virtual ~Resource() {} private: - Common::String _fileName; ///< The absolute filename - uint _fileNameHash; ///< The hash value of the filename - uint _refCount; ///< The number of locks - uint _type; ///< The type of the resource + Common::String _fileName; ///< The absolute filename + uint _fileNameHash; ///< The hash value of the filename + uint _refCount; ///< The number of locks + uint _type; ///< The type of the resource Common::List::iterator _iterator; ///< Points to the resource position in the LRU list }; -- cgit v1.2.3