Public Member Functions

ImageLoaderFactory Class Reference

The ImageLoaderFactory class is an interface which must be implemented and exported by image loader plugins. More...

#include <ImageLoader.h>

Inheritance diagram for ImageLoaderFactory:
LdrFormatsLoaderFactory OpenExrLoaderFactory

List of all members.

Public Member Functions

virtual QStringList extensions () const =0
virtual ImageLoaderPtr createLoader (const QString &fileName) const =0

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Functions Variables