From 4a43cb1c6e5ba304d70df7066c61c52718a5f249 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 5 Oct 2005 21:45:27 +0000 Subject: Fixed some resource cleanup and memory leaks. Also changed the way dangling references to resources are reported to be more informative. --- src/resources/resource.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/resources/resource.h') diff --git a/src/resources/resource.h b/src/resources/resource.h index ce3a62fb..fe534606 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -53,6 +53,12 @@ class Resource bool decRef(); + /** + * Return the path identifying this resource. + */ + const std::string& + getIdPath() { return mIdPath; } + protected: /** * Destructor. -- cgit v1.2.3-60-g2f50