The ImageLoaderFactory class is an interface which must be implemented and exported by image loader plugins. More...
#include <ImageLoader.h>
Public Member Functions | |
virtual QStringList | extensions () const =0 |
virtual ImageLoaderPtr | createLoader (const QString &fileName) const =0 |
The ImageLoaderFactory class is an interface which must be implemented and exported by image loader plugins.
This class is used to create ImageLoader instances.
Definition at line 78 of file ImageLoader.h.
virtual ImageLoaderPtr ImageLoaderFactory::createLoader | ( | const QString & | fileName ) | const [pure virtual] |
Returns a newly created loader.
Implemented in LdrFormatsLoaderFactory, and OpenExrLoaderFactory.
virtual QStringList ImageLoaderFactory::extensions | ( | ) | const [pure virtual] |
Returns the list of file extensions the loader can read.
Implemented in LdrFormatsLoaderFactory, and OpenExrLoaderFactory.