EngineFactory Class Reference
Engine plugin interface.
More...
#include <enginefactory.h>
List of all members.
Detailed Description
Engine plugin interface.
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
| virtual EngineFactory::~EngineFactory |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| virtual AbstractEngine* EngineFactory::create |
( |
QObject * |
parent = 0 |
) |
[pure virtual] |
Creates engine object.
- Parameters:
-
| parent | Parent object File path |
| virtual MetaDataModel* EngineFactory::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 *> EngineFactory::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* EngineFactory::createTranslator |
( |
QObject * |
parent |
) |
[pure virtual] |
Creates QTranslator object of the system locale. Should return 0 if translation doesn't exist.
- Parameters:
-
| virtual const EngineProperties EngineFactory::properties |
( |
|
) |
const [pure virtual] |
Returns general plugin properties.
| virtual void EngineFactory::showAbout |
( |
QWidget * |
parent |
) |
[pure virtual] |
Shows about dialog.
- Parameters:
-
| virtual void EngineFactory::showSettings |
( |
QWidget * |
parent |
) |
[pure virtual] |
Shows settings dialog.
- Parameters:
-
| 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: