diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-17 17:52:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-17 17:52:35 +0000 |
| commit | f91f63b99f25d8a01dc1d211e31cc4f39c0476bf (patch) | |
| tree | 9a72048abb609290caa56f61c3ae8a4983c1d230 /src/plugins/Input/gme | |
| parent | a5c350a7cd30d835deb6f7f2ef3b913b473725a2 (diff) | |
| download | qmmp-f91f63b99f25d8a01dc1d211e31cc4f39c0476bf.tar.gz qmmp-f91f63b99f25d8a01dc1d211e31cc4f39c0476bf.tar.bz2 qmmp-f91f63b99f25d8a01dc1d211e31cc4f39c0476bf.zip | |
added feature to exclude cue data files
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4693 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme')
| -rw-r--r-- | src/plugins/Input/gme/decodergmefactory.cpp | 6 | ||||
| -rw-r--r-- | src/plugins/Input/gme/decodergmefactory.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Input/gme/decodergmefactory.cpp b/src/plugins/Input/gme/decodergmefactory.cpp index 0858b35ec..e2ef81cdc 100644 --- a/src/plugins/Input/gme/decodergmefactory.cpp +++ b/src/plugins/Input/gme/decodergmefactory.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2013 by Ilya Kotov * + * Copyright (C) 2010-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -64,7 +64,7 @@ Decoder *DecoderGmeFactory::create(const QString &path, QIODevice *input) return new DecoderGme(path); } -QList<FileInfo *> DecoderGmeFactory::createPlayList(const QString &fileName, bool useMetaData) +QList<FileInfo *> DecoderGmeFactory::createPlayList(const QString &fileName, bool useMetaData, QStringList *ignoredFiles) { QList <FileInfo*> list; GmeHelper helper; @@ -75,7 +75,7 @@ QList<FileInfo *> DecoderGmeFactory::createPlayList(const QString &fileName, boo path.remove("gme://"); path.remove(QRegExp("#\\d+$")); int track = fileName.section("#", -1).toInt(); - list = createPlayList(path, true); + list = createPlayList(path, true, ignoredFiles); if (list.isEmpty() || track <= 0 || track > list.count()) { qDeleteAll(list); diff --git a/src/plugins/Input/gme/decodergmefactory.h b/src/plugins/Input/gme/decodergmefactory.h index a3612685d..ae5b4c8aa 100644 --- a/src/plugins/Input/gme/decodergmefactory.h +++ b/src/plugins/Input/gme/decodergmefactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010 by Ilya Kotov * + * Copyright (C) 2010-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -36,14 +36,14 @@ class DecoderGmeFactory : public QObject, DecoderFactory { Q_OBJECT - Q_INTERFACES(DecoderFactory); + Q_INTERFACES(DecoderFactory) public: bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; Decoder *create(const QString &path, QIODevice *input); - QList<FileInfo *> createPlayList(const QString &fileName, bool useMetaData); + QList<FileInfo *> createPlayList(const QString &fileName, bool useMetaData, QStringList *ignoredFiles); MetaDataModel* createMetaDataModel(const QString &path, QObject *parent = 0); void showSettings(QWidget *parent); void showAbout(QWidget *parent); |
