aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistparser.h')
-rw-r--r--src/qmmpui/playlistparser.h9
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: