ClanLib
2.3.7
|
Provider type. More...
#include <provider_type.h>
Public Member Functions | |
Construction | |
CL_ImageProviderType (const CL_String &type) | |
Registers a provider type in the CL_ImageProviderFactory. More... | |
virtual | ~CL_ImageProviderType () |
Unregisters a provider type in the CL_ImageProviderFactory. More... | |
Operations | |
virtual CL_PixelBuffer | load (const CL_String &filename, const CL_VirtualDirectory &directory)=0 |
Called to load an image with this provider type. More... | |
virtual CL_PixelBuffer | load (CL_IODevice &file)=0 |
virtual void | save (CL_PixelBuffer buffer, const CL_String &filename, CL_VirtualDirectory &directory)=0 |
Called to save a given PixelBuffer to a file. More... | |
virtual void | save (CL_PixelBuffer buffer, CL_IODevice &file)=0 |
Provider type.
CL_ImageProviderType::CL_ImageProviderType | ( | const CL_String & | type) |
Registers a provider type in the CL_ImageProviderFactory.
|
virtual |
Unregisters a provider type in the CL_ImageProviderFactory.
|
pure virtual |
Called to load an image with this provider type.
Implemented in CL_ProviderType_Register< ProviderClass >.
|
pure virtual |
Implemented in CL_ProviderType_Register< ProviderClass >.
|
pure virtual |
Called to save a given PixelBuffer to a file.
Implemented in CL_ProviderType_Register< ProviderClass >.
|
pure virtual |
Implemented in CL_ProviderType_Register< ProviderClass >.