#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, |
|
|
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.
◆ createPlayList()
virtual QList<FileInfo *> createPlayList |
( |
const QString & |
fileName, |
|
|
bool |
useMetaData, |
|
|
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. |
useMetaData | Metadata usage (true - use, - do not use) |
ignoredPaths | Pointer to a list of the files which should be ignored by the recursive search (useful to exclude cue data files from playlist) |
◆ createTranslator()
virtual QTranslator* createTranslator |
( |
QObject * |
parent | ) |
|
|
pure virtual |
Creates QTranslator object of the system locale. Should return 0 if translation doesn't exist.
- Parameters
-
◆ 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
The documentation for this class was generated from the following file: