|
Qmmp
|
#include <playlistformat.h>
Public Member Functions | |
| virtual | ~PlayListFormat () |
| virtual const PlayListFormatProperties | properties () const =0 |
| virtual QList< PlayListTrack * > | decode (const QByteArray &contents)=0 |
| virtual QByteArray | encode (const QList< PlayListTrack * > &contents, const QString &path)=0 |
Abstract interface for playlist formats.
| virtual ~PlayListFormat | ( | ) | [inline, virtual] |
Object destructor
| 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.
| 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.
| path | Playlist file path (May be used to adjust playlist content). |
| contents | A list of PlayListTrack pointers. |
| virtual const PlayListFormatProperties properties | ( | ) | const [pure virtual] |
Returns playlist format properties.
1.7.6.1