diff options
Diffstat (limited to 'src/qmmpui/fileloader_p.h')
| -rw-r--r-- | src/qmmpui/fileloader_p.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qmmpui/fileloader_p.h b/src/qmmpui/fileloader_p.h index 1dd0a823b..58f771ff7 100644 --- a/src/qmmpui/fileloader_p.h +++ b/src/qmmpui/fileloader_p.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2015 by Ilya Kotov * + * Copyright (C) 2006-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -61,10 +61,12 @@ public: * Sets files/directories to load */ void add(const QStringList &paths); + void addPlayList(const QString &fmt, const QByteArray &data); void insert(PlayListItem *before, const QString &path); void insert(PlayListItem *before, const QStringList &paths); + public slots: /*! * Removes files and directories from queue and waits until thread is finished @@ -81,6 +83,8 @@ signals: private: void run(); QList<PlayListTrack*> processFile(const QString &path, QStringList *ignoredPaths = 0); + void insertPlayList(const QString &fmt, const QByteArray &contents, PlayListItem *before); + void insertPlayList(const QString &path, PlayListItem *before); void addDirectory(const QString &s, PlayListItem *before = 0); bool checkRestrictFilters(const QFileInfo &info); bool checkExcludeFilters(const QFileInfo &info); @@ -89,6 +93,8 @@ private: { QString path; PlayListItem *before; + QString playListFormat; + QByteArray playListContent; }; QQueue <LoaderTask> m_tasks; QStringList m_filters; |
