#include <playlistformat.h>
Abstract interface for playlist formats.
- Author
- Vladimir Kuznetsov vovan.nosp@m.ec@g.nosp@m.mail..nosp@m.com
◆ ~PlayListFormat()
◆ decode()
virtual QList< PlayListTrack * > decode |
( |
const QByteArray & | contents | ) |
|
|
pure virtual |
Takes raw contents of playlist file, should return string list of ready file pathes to fill the playlist.
◆ encode()
virtual QByteArray encode |
( |
const QList< PlayListTrack * > & | contents, |
|
|
const QString & | path ) |
|
pure virtual |
Takes the list of PlayListTrack objects, should return content of encoded playlist file.
- Parameters
-
path | Playlist file path (May be used to adjust playlist content). |
contents | A list of PlayListTrack pointers. |
◆ properties()
Returns playlist format properties.
The documentation for this class was generated from the following file: