Input plugin interface (decoder factory).
More...
#include <decoderfactory.h>
Input plugin interface (decoder factory).
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
Definition at line 50 of file decoderfactory.h.
virtual DecoderFactory::~DecoderFactory |
( |
| ) |
|
|
virtualdefault |
virtual bool DecoderFactory::canDecode |
( |
QIODevice * |
input | ) |
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 = nullptr |
|
) |
| |
|
pure virtual |
Creates decoder object.
- Parameters
-
path | File path |
input | Input data (if required) |
virtual MetaDataModel* DecoderFactory::createMetaDataModel |
( |
const QString & |
path, |
|
|
bool |
readOnly |
|
) |
| |
|
pure virtual |
virtual QList<TrackInfo*> DecoderFactory::createPlayList |
( |
const QString & |
fileName, |
|
|
TrackInfo::Parts |
parts, |
|
|
QStringList * |
ignoredPaths |
|
) |
| |
|
pure virtual |
Extracts metadata and audio information from file path and returns a list of TrackInfo items. One file may contain several playlist items (for example: cda disk or flac with embedded cue)
- Parameters
-
fileName | File path. |
parts | parts of metadata which should be extracted from file. |
ignoredPaths | Pointer to a list of the files which should be ignored by the recursive search (useful to exclude cue data files from playlist). |
Referenced by MusicSongMeta::readInformation().
virtual QDialog* DecoderFactory::createSettings |
( |
QWidget * |
parent | ) |
|
|
pure virtual |
Creates settings dialog.
- Parameters
-
- Returns
- Settings dialog pointer.
The documentation for this class was generated from the following file: