28#ifndef HPL_RESOURCEBASE_H
29#define HPL_RESOURCEBASE_H
31#include "hpl1/engine/system/SystemTypes.h"
32#include "hpl1/engine/system/low_level_system.h"
58 tString GetName() {
return msName; }
59 unsigned long GetHandle() {
return mlHandle; }
60 void SetHandle(
unsigned long alHandle) { mlHandle = alHandle; }
61 tString GetFilePath() {
return msFilePath; }
62 unsigned long GetTime() {
return mlTime; }
63 unsigned long GetPrio() {
return mlPrio; }
64 unsigned long GetSize() {
return mlSize; }
66 void SetLogDestruction(
bool abX) { mbLogDestruction = abX; }
68 unsigned int GetUserCount() {
return mlUserCount; }
74 bool HasUsers() {
return mlUserCount > 0; }
76 static bool GetLogCreateAndDelete() {
return mbLogCreateAndDelete; }
77 static void SetLogCreateAndDelete(
bool abX) { mbLogCreateAndDelete = abX; }
80 static bool mbLogCreateAndDelete;
86 unsigned int mlUserCount;
87 unsigned long mlHandle;
90 bool mbLogDestruction;
Definition: ResourceBase.h:36