DecoderFactory Class Reference
Input plugin interface (decoder factory).
More...
#include <decoderfactory.h>
List of all members.
Detailed Description
Input plugin interface (decoder factory).
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
| virtual DecoderFactory::~DecoderFactory |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| virtual bool DecoderFactory::canDecode |
( |
QIODevice * |
d |
) |
const [pure virtual] |
Returns true if plugin can decode data provided by d, otherwise returns false
| virtual Decoder* DecoderFactory::create |
( |
const QString & |
path, |
|
|
QIODevice * |
input = 0 | |
|
) |
| | [pure virtual] |
Creates decoder object.
- Parameters:
-
| path | File path |
| input | Input data (if required) |
| virtual MetaDataModel* DecoderFactory::createMetaDataModel |
( |
const QString & |
path, |
|
|
QObject * |
parent = 0 | |
|
) |
| | [pure virtual] |
Creats metadata object, which provides full access to file tags.
- Parameters:
-
| path | File path. |
| parent | Parent object. |
- Returns:
- MetaDataModel pointer.
| virtual QList<FileInfo *> DecoderFactory::createPlayList |
( |
const QString & |
fileName, |
|
|
bool |
useMetaData | |
|
) |
| | [pure virtual] |
Extracts metadata and audio information from file path and returns a list of FileInfo items. One file may contain several playlist items (for example: cda disk or flac with embedded cue)
- Parameters:
-
| fileName | File path. |
| useMetaData | Metadata usage (true - use, - do not use) |
| virtual QTranslator* DecoderFactory::createTranslator |
( |
QObject * |
parent |
) |
[pure virtual] |
Creates QTranslator object of the system locale. Should return 0 if translation doesn't exist.
- Parameters:
-
Returns general plugin properties.
| virtual void DecoderFactory::showAbout |
( |
QWidget * |
parent |
) |
[pure virtual] |
Shows about dialog.
- Parameters:
-
| virtual void DecoderFactory::showSettings |
( |
QWidget * |
parent |
) |
[pure virtual] |
Shows settings dialog.
- Parameters:
-
| virtual bool DecoderFactory::supports |
( |
const QString & |
source |
) |
const [pure virtual] |
Returns true if plugin supports source, otherwise returns false
The documentation for this class was generated from the following file: