Input plugin interface (decoder factory).
More...
#include <decoderfactory.h>
List of all members.
Detailed Description
Input plugin interface (decoder factory).
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
Member Function Documentation
virtual bool canDecode |
( |
QIODevice * |
d | ) |
const [pure virtual] |
Returns true if plugin can decode data provided by d, otherwise returns false
virtual Decoder* create |
( |
const QString & |
path, |
|
|
QIODevice * |
input = 0 |
|
) |
| [pure virtual] |
Creates decoder object.
- Parameters:
-
path | File path |
input | Input data (if required) |
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.
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) |
virtual QTranslator* createTranslator |
( |
QObject * |
parent | ) |
[pure virtual] |
Creates QTranslator object of the system locale. Should return 0 if translation doesn't exist.
- Parameters:
-
Returns general plugin properties.
virtual void showAbout |
( |
QWidget * |
parent | ) |
[pure virtual] |
Shows about dialog.
- Parameters:
-
virtual void showSettings |
( |
QWidget * |
parent | ) |
[pure virtual] |
Shows settings dialog.
- Parameters:
-
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: