summaryrefslogtreecommitdiff
path: root/src/resources/resource.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-29 22:00:35 +0000
commit5352c44d1ab542c64c421afcc690b200f7231a9d (patch)
tree4695c79a788c3ab9daeaf2972052a6ea9821bf13 /src/resources/resource.cpp
parent52a7af6227d0b2ff94ff2c8fecd708d4d6a71466 (diff)
downloadmana-client-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.gz
mana-client-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.bz2
mana-client-5352c44d1ab542c64c421afcc690b200f7231a9d.tar.xz
mana-client-5352c44d1ab542c64c421afcc690b200f7231a9d.zip
Clean up of the ConfigListener and Resource interfaces.
Diffstat (limited to 'src/resources/resource.cpp')
-rw-r--r--src/resources/resource.cpp10
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++;