AwReadWrite
Read Write Library for AnyWave
Public Member Functions | Public Attributes | List of all members
AwReaderPlugin Class Referenceabstract

Base class to implement a reader plug-in. More...

#include <AwReaderInterface.h>

Inheritance diagram for AwReaderPlugin:

Public Member Functions

int flags ()
 
virtual AwFileReadernewInstance (const QString &filename=QString())=0
 
virtual QStringList montages ()
 

Public Attributes

QString name
 plugin's name: MANDATORY
 
QString version
 plugin's version
 
QString description
 short description: MANDATORY
 
QStringList fileExtensions
 A string list with supported file extensions.
 
QString manufacturer
 The name of the manufacturer: OPTIONAL.
 

Detailed Description

Base class to implement a reader plug-in.

A Reader plug-in must derived from this class. This is the base plug-in object which is loaded by AnyWave. This object can instantiate a reader object that will become the file reader.

Remarks
A virtual method could be implemented to provide default montages to AnyWave.

Member Function Documentation

int AwReaderPlugin::flags ( )
inline

Returns flags that defines the available features

virtual QStringList AwReaderPlugin::montages ( )
inlinevirtual

Override this method to provide a string list containing paths to montage files.

virtual AwFileReader* AwReaderPlugin::newInstance ( const QString &  filename = QString())
pure virtual

Override this method to instantiate an object derived from AwFileReader.


The documentation for this class was generated from the following file: