diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-06-14 20:24:58 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-06-14 20:24:58 +0000 |
| commit | b2576ddc181d3758e3a57d9cac871ee7d7e2ef06 (patch) | |
| tree | 1dfd6331a91f153d4a693a0aa32a774e2e53e2ea /src/qmmpui/playlistformat.h | |
| parent | 9e3bcc8653f5e0500e9d0e4ee0c953e8bbf4ea4c (diff) | |
| download | qmmp-b2576ddc181d3758e3a57d9cac871ee7d7e2ef06.tar.gz qmmp-b2576ddc181d3758e3a57d9cac871ee7d7e2ef06.tar.bz2 qmmp-b2576ddc181d3758e3a57d9cac871ee7d7e2ef06.zip | |
improved playlist formats support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7237 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistformat.h')
| -rw-r--r-- | src/qmmpui/playlistformat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qmmpui/playlistformat.h b/src/qmmpui/playlistformat.h index 06927cfbf..16e23a57d 100644 --- a/src/qmmpui/playlistformat.h +++ b/src/qmmpui/playlistformat.h @@ -53,13 +53,13 @@ public: * Takes raw contents of playlist file, should return string list of * ready file pathes to fill the playlist. */ - virtual QStringList decode(const QString& contents) = 0; + virtual QList<PlayListTrack*> decode(const QByteArray &contents) = 0; /*! - * Takes the list of AbstractPlaylistItem objects, should return string of + * Takes the list of \b PlayListTrack objects, should return content of * encoded playlist file. - * @param dir Playlist file path (May be used to adjust playlist content). + * @param path Playlist file path (May be used to adjust playlist content). */ - virtual QString encode(const QList<PlayListTrack*>& contents, const QString &path) = 0; + virtual QByteArray encode(const QList<PlayListTrack*> &contents, const QString &path) = 0; }; Q_DECLARE_INTERFACE(PlayListFormat,"PlayListFormat/1.0") |
