aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistparser.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-12-22 19:16:29 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-12-22 19:16:29 +0000
commitaecf8592751e7beb682fcd5bc8c5b1d38335fa84 (patch)
treecf267363944faafb7b29370d27f6ae19fbcc7647 /src/qmmpui/playlistparser.h
parent954146ff9b69591f0cf3895e96922bb55ad88502 (diff)
downloadqmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.gz
qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.bz2
qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.zip
libqmmpui: added URL dialog implementation, added PlayListDownloader
class git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3089 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistparser.h')
-rw-r--r--src/qmmpui/playlistparser.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qmmpui/playlistparser.h b/src/qmmpui/playlistparser.h
index d78e3ad7d..00dc4d24d 100644
--- a/src/qmmpui/playlistparser.h
+++ b/src/qmmpui/playlistparser.h
@@ -20,6 +20,8 @@
#ifndef PLAYLISTPARSER_H
#define PLAYLISTPARSER_H
+#include <QStringList>
+#include <QUrl>
#include "playlistformat.h"
/*! @brief The PlaylistParser class provides a simple api to access playlist format plugins.
@@ -37,10 +39,20 @@ public:
*/
static QStringList nameFilters();
/*!
+ * Returns PlayListFormat pointer which supports mime type \b mime
+ * or \b 0 if mime type \b mime is unsupported
+ */
+ static PlayListFormat *findByMime(const QString &mime);
+ /*!
* Finds playlist format by file path \b filePath
* Returns \b 0 if file \b filePath is unsupported.
*/
static PlayListFormat *findByPath(const QString &filePath);
+ /*!
+ * Finds playlist format by url path \b url
+ * Returns \b 0 if file \b filePath is unsupported.
+ */
+ static PlayListFormat *findByUrl(const QUrl &url);
private:
PlayListParser(){}