Qmmp
|
Abstract interface for playlist formats. More...
#include <playlistformat.h>
Public Member Functions | |
virtual | ~PlayListFormat () |
virtual const PlayListFormatProperties | properties () const =0 |
virtual QStringList | decode (const QString &contents)=0 |
virtual QString | encode (const QList< PlayListTrack * > &contents)=0 |
Abstract interface for playlist formats.
virtual ~PlayListFormat | ( | ) | [inline, virtual] |
Object destructor
virtual QStringList decode | ( | const QString & | contents | ) | [pure virtual] |
Takes raw contents of playlist file, should return string list of ready file pathes to fill the playlist.
virtual QString encode | ( | const QList< PlayListTrack * > & | contents | ) | [pure virtual] |
Takes the list of AbstractPlaylistItem objects, should return string of encoded playlist file
virtual const PlayListFormatProperties properties | ( | ) | const [pure virtual] |
Returns playlist format properties.