diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-04-29 21:47:16 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-04-29 21:47:16 +0000 |
| commit | 9f21a5f3c222f392dc5370abda0417d80216ea37 (patch) | |
| tree | d9e48bfe568da01ace32c143335c7bac8c40052b /src/qmmpui/playlistparser.h | |
| parent | 16e04556f68c3b12971ad12953761406ab795aae (diff) | |
| download | qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.tar.gz qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.tar.bz2 qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.zip | |
updated API documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9870 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistparser.h')
| -rw-r--r-- | src/qmmpui/playlistparser.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qmmpui/playlistparser.h b/src/qmmpui/playlistparser.h index 0778a6ff0..941f6e0a7 100644 --- a/src/qmmpui/playlistparser.h +++ b/src/qmmpui/playlistparser.h @@ -88,8 +88,15 @@ public: * Loads all playlist plugins. Should be called before usage from another thread. */ static void loadFormats(); - + /*! + * Converts track list \b tracks to JSON. + * May be useful for fast drag-and-drop. + */ static QByteArray serialize(const QList<PlayListTrack *> &tracks); + /*! + * Converts JSON data \b json to track list. + * May be useful for fast drag-and-drop. + */ static QList<PlayListTrack *> deserialize(const QByteArray &json); private: |
