Class template to register a provider type. More...
#include <provider_type_register.h>
Public Member Functions | |
Construction | |
ProviderType_Register (const std::string &type) | |
Registers provider type in the ProviderFactory. More... | |
Operations | |
virtual PixelBuffer | load (const std::string &filename, const FileSystem &fs, bool srgb) |
Called to load an image with this provider type. More... | |
virtual PixelBuffer | load (IODevice &file, bool srgb) |
virtual void | save (PixelBuffer buffer, const std::string &filename, FileSystem &fs) |
Called to save a given PixelBuffer to a file. More... | |
virtual void | save (PixelBuffer buffer, IODevice &file) |
Class template to register a provider type.