1 #ifndef GLS_RESOURCE_FILE_MGR_H_INCLUDED
2 #define GLS_RESOURCE_FILE_MGR_H_INCLUDED
5 #if( defined( GLSGEN_EXPORT_GLSGEOMETRYRESOURCE ) || defined( GLSGEN_IMPORT_GLSGEOMETRYRESOURCE ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
7 # if defined( GLSGEN_EXPORT_GLSGEOMETRYRESOURCE ) || defined( GLS_EXPORT_GENERATED )
8 # define GLSGEN_GlsGeometryResource_EXPORT __declspec( dllexport )
10 # define GLSGEN_GlsGeometryResource_EXPORT __declspec( dllimport )
13 # define GLSGEN_GlsGeometryResource_EXPORT
49 virtual const char*
GetName() = 0;
74 virtual const char*
GetName() = 0;
120 T*
get() {
return _ptr; }
141 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:98
Definition: gls_resource_file_mgr.h:29
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:84
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:38
Definition: gls_resource_file_mgr.h:60
Definition: bmpimage.h:46