diff options
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r-- | src/resources/resource.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h index 7c39f176..5b9a5eb8 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -24,6 +24,7 @@ #ifndef _TMW_RESOURCE_H #define _TMW_RESOURCE_H +#include <ctime> #include <string> /** @@ -69,8 +70,9 @@ class Resource ~Resource(); private: - unsigned int mRefCount; /**< Reference count */ - std::string mIdPath; /**< Path identifying this resource */ + std::string mIdPath; /**< Path identifying this resource. */ + time_t mTimeStamp; /**< Time at which the resource was orphaned. */ + unsigned mRefCount; /**< Reference count. */ }; #endif |