#include <enginefactory.h>
Engine plugin interface.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ ~EngineFactory()
◆ create()
Creates engine object.
- Parameters
-
parent | Parent object File path |
◆ createMetaDataModel()
virtual MetaDataModel * 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.
◆ createPlayList()
virtual QList< TrackInfo * > 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). |
◆ properties()
Returns general plugin properties.
◆ showAbout()
virtual void showAbout |
( |
QWidget * | parent | ) |
|
|
pure virtual |
Shows about dialog.
- Parameters
-
◆ showSettings()
virtual void showSettings |
( |
QWidget * | parent | ) |
|
|
pure virtual |
Shows settings dialog.
- Parameters
-
◆ supports()
virtual bool supports |
( |
const QString & | source | ) |
const |
|
pure virtual |
Returns true if plugin supports source, otherwise returns false
◆ translation()
virtual QString translation |
( |
| ) |
const |
|
pure virtual |
Returns translation file path without locale code and extension
The documentation for this class was generated from the following file: