1 #ifndef GLS_RESOURCE_FILE_MGR_H_INCLUDED
2 #define GLS_RESOURCE_FILE_MGR_H_INCLUDED
5 #if (defined(GLSGEN_EXPORT_GLSGEOMETRYRESOURCE) || \
6 defined(GLSGEN_IMPORT_GLSGEOMETRYRESOURCE) || \
7 defined(GLS_EXPORT_GENERATED) || \
8 defined(GLS_IMPORT_GENERATED)) \
10 # if defined(GLSGEN_EXPORT_GLSGEOMETRYRESOURCE) || defined(GLS_EXPORT_GENERATED)
11 # define GLSGEN_GlsGeometryResource_EXPORT __declspec(dllexport)
13 # define GLSGEN_GlsGeometryResource_EXPORT __declspec(dllimport)
16 # define GLSGEN_GlsGeometryResource_EXPORT
51 virtual const char*
GetName() = 0;
75 virtual const char*
GetName() = 0;
107 T*
get() {
return _ptr; }
128 GLSGEN_GlsGeometryResource_EXPORT
bool AddResourceFolder(
const char* url,
bool silent=
false);
virtual unsigned int GetDataSize()=0
virtual void Release()=0
Decrement the reference count.
Definition: gls_resource_file_mgr.h:99
Definition: gls_resource_file_mgr.h:32
ResourceRef * GetResourceRef(const char *resource_name)
virtual void Release()=0
Should be called to release this BinaryResource when it is longer needed.
virtual void AddRef()=0
Increment the ResourceRef reference count.
AutoRelease< ResourceCache > CacheResourcesForComponent(const char *componentClassName)
bool AddResourceFolder(const char *url, bool silent=false)
static GlsResourceFileMgr & Instance()
virtual const char * GetDataPtr()=0
virtual const char * GetName()=0
Definition: gls_resource_file_mgr.h:85
virtual void AddRef()=0
Increment the reference count.
virtual const char * GetName()=0
virtual void Release()=0
Should be called to release this ResourceRef when it is longer needed.
Definition: gls_resource_file_mgr.h:41
Definition: gls_resource_file_mgr.h:62
Definition: bmpimage.h:46