From 9f21a5f3c222f392dc5370abda0417d80216ea37 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 29 Apr 2021 21:47:16 +0000 Subject: updated API documentation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9870 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistparser.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/playlistparser.h') 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 &tracks); + /*! + * Converts JSON data \b json to track list. + * May be useful for fast drag-and-drop. + */ static QList deserialize(const QByteArray &json); private: -- cgit v1.2.3-13-gbd6f