Engine plugin interface.
More...
#include <enginefactory.h>
Engine plugin interface.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
Definition at line 51 of file enginefactory.h.
virtual EngineFactory::~EngineFactory |
( |
| ) |
|
|
virtualdefault |
virtual AbstractEngine* EngineFactory::create |
( |
QObject * |
parent = nullptr | ) |
|
|
pure virtual |
Creates engine object.
- Parameters
-
parent | Parent object File path |
virtual MetaDataModel* EngineFactory::createMetaDataModel |
( |
const QString & |
path, |
|
|
bool |
readOnly |
|
) |
| |
|
pure virtual |
Creats metadata object, which provides full access to file tags.
- Parameters
-
path | File path. |
readOnly | Open file in read-only mode (true - enabled, false - disable). |
- Returns
- MetaDataModel pointer.
virtual QList<TrackInfo*> EngineFactory::createPlayList |
( |
const QString & |
fileName, |
|
|
TrackInfo::Parts |
parts, |
|
|
QStringList * |
ignoredPaths |
|
) |
| |
|
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. |
ignoredPaths | Pointer to a list of the files which should be ignored by the recursive search. |
parts | parts of metadata which should be extracted from file. (useful to exclude cue data files from playlist). |
Returns general plugin properties.
virtual bool EngineFactory::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: