aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/resource.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-18 12:58:22 +0000
committerEugene Sandulenko2010-10-12 22:59:01 +0000
commitb01994a53bbc96da907a4c28934e644184291017 (patch)
tree7454011b38391985e9f7ce6bca101f1394d127be /engines/sword25/kernel/resource.h
parent4c4e821326a3772ad59fee836eabd5175bbb84ca (diff)
downloadscummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.tar.gz
scummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.tar.bz2
scummvm-rg350-b01994a53bbc96da907a4c28934e644184291017.zip
SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix: BS_LOG, BS_ASSERT, BS_Rect, BS_String. svn-id: r53261
Diffstat (limited to 'engines/sword25/kernel/resource.h')
-rw-r--r--engines/sword25/kernel/resource.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sword25/kernel/resource.h b/engines/sword25/kernel/resource.h
index 4653eab149..7d696ec198 100644
--- a/engines/sword25/kernel/resource.h
+++ b/engines/sword25/kernel/resource.h
@@ -41,11 +41,11 @@
namespace Sword25 {
-class BS_Kernel;
-class BS_ResourceManager;
+class Kernel;
+class ResourceManager;
-class BS_Resource {
- friend class BS_ResourceManager;
+class Resource {
+ friend class ResourceManager;
public:
enum RESOURCE_TYPES {
@@ -56,7 +56,7 @@ public:
TYPE_FONT
};
- BS_Resource(const Common::String &UniqueFileName, RESOURCE_TYPES Type);
+ Resource(const Common::String &UniqueFileName, RESOURCE_TYPES Type);
/**
* Prevents the resource from being released.
@@ -103,14 +103,14 @@ public:
}
protected:
- virtual ~BS_Resource() {};
+ virtual ~Resource() {};
private:
Common::String _FileName; ///< The absolute filename
unsigned int _FileNameHash; ///< The hash value of the filename
unsigned int _RefCount; ///< The number of locks
unsigned int _Type; ///< The type of the resource
- Common::List<BS_Resource *>::iterator _Iterator; ///< Points to the resource position in the LRU list
+ Common::List<Resource *>::iterator _Iterator; ///< Points to the resource position in the LRU list
};
} // End of namespace Sword25