- INTEGER_CONSTANT(Version, 1);
- STRING_CONSTANT(Name, "textures");
- virtual LoadImageCallback defaultLoader() const = 0;
- virtual Image* loadImage(const char* name) = 0;
- virtual qtexture_t* capture(const char* name) = 0;
- virtual qtexture_t* capture(const LoadImageCallback& load, const char* name) = 0;
- virtual void release(qtexture_t* texture) = 0;
- virtual void attach(TexturesCacheObserver& observer) = 0;
- virtual void detach(TexturesCacheObserver& observer) = 0;
+virtual ~TexturesCache() = default;
+INTEGER_CONSTANT( Version, 1 );
+STRING_CONSTANT( Name, "textures" );
+virtual LoadImageCallback defaultLoader() const = 0;
+virtual Image* loadImage( const char* name ) = 0;
+virtual qtexture_t* capture( const char* name ) = 0;
+virtual qtexture_t* capture( const LoadImageCallback& load, const char* name ) = 0;
+virtual void release( qtexture_t* texture ) = 0;
+virtual void attach( TexturesCacheObserver& observer ) = 0;
+virtual void detach( TexturesCacheObserver& observer ) = 0;