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
144 GLSGEN_GlsGeometryResource_EXPORT
bool AddResourceFolder(
const char* url,
bool silent =
false );
Definition: gls_resource_file_mgr.h:93
T * get()
Definition: gls_resource_file_mgr.h:123
T * _ptr
Pointer to an object with a refernce counting interface.
Definition: gls_resource_file_mgr.h:95
AutoRelease(const AutoRelease &other)
Definition: gls_resource_file_mgr.h:105
AutoRelease(T *obj)
Definition: gls_resource_file_mgr.h:100
Definition: gls_resource_file_mgr.h:35
virtual void Release()=0
Should be called to release this BinaryResource when it is longer needed.
virtual const char * GetName()=0
virtual unsigned int GetDataSize()=0
virtual const char * GetDataPtr()=0
Definition: gls_resource_file_mgr.h:80
virtual void Release()=0
Decrement the reference count.
virtual void AddRef()=0
Increment the reference count.
Definition: gls_resource_file_mgr.h:57
virtual BinaryResource * LoadBinaryData()=0
virtual void Release()=0
Should be called to release this ResourceRef when it is longer needed.
virtual const char * GetName()=0
virtual void AddRef()=0
Increment the ResourceRef reference count.
Definition: gls_resource_file_mgr.h:26
ResourceRef * GetResourceRef(const char *resource_name)
static GlsResourceFileMgr & Instance()
AutoRelease< ResourceCache > CacheResourcesForComponent(const char *componentClassName)
bool AddResourceFolder(const char *url, bool silent=false)
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47