diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-29 22:00:35 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-29 22:00:35 +0000 |
commit | 5352c44d1ab542c64c421afcc690b200f7231a9d (patch) | |
tree | 4695c79a788c3ab9daeaf2972052a6ea9821bf13 /src/resources/resource.cpp | |
parent | 52a7af6227d0b2ff94ff2c8fecd708d4d6a71466 (diff) | |
download | Mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.gz Mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.bz2 Mana-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.xz Mana-5352c44d1ab542c64c421afcc690b200f7231a9d.zip |
Clean up of the ConfigListener and Resource interfaces.
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r-- | src/resources/resource.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp index e13ec359..5c1df52d 100644 --- a/src/resources/resource.cpp +++ b/src/resources/resource.cpp @@ -28,8 +28,8 @@ #include "resourcemanager.h" -Resource::Resource(): - mRefCount(0) +Resource::Resource(const std::string &idPath): + mRefCount(0), mIdPath(idPath) { } @@ -38,12 +38,6 @@ Resource::~Resource() } void -Resource::setIdPath(const std::string &idPath) -{ - mIdPath = idPath; -} - -void Resource::incRef() { mRefCount++; |