aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-07-26 08:58:59 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-07-26 08:58:59 +0000
commit45b203105b980162549fc97106c6353a23571106 (patch)
treee81c2e5db07e3643b59e6d653195e40fa34855c1 /src/plugins/Input/gme
parent62904593cc27e86a32aa07f43108a160ec52371d (diff)
downloadqmmp-45b203105b980162549fc97106c6353a23571106.tar.gz
qmmp-45b203105b980162549fc97106c6353a23571106.tar.bz2
qmmp-45b203105b980162549fc97106c6353a23571106.zip
removed function DecoderFactory::supports
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6603 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme')
-rw-r--r--src/plugins/Input/gme/decodergmefactory.cpp11
-rw-r--r--src/plugins/Input/gme/decodergmefactory.h3
2 files changed, 1 insertions, 13 deletions
diff --git a/src/plugins/Input/gme/decodergmefactory.cpp b/src/plugins/Input/gme/decodergmefactory.cpp
index b33a70c21..6f28f9506 100644
--- a/src/plugins/Input/gme/decodergmefactory.cpp
+++ b/src/plugins/Input/gme/decodergmefactory.cpp
@@ -29,17 +29,6 @@
// DecoderGmeFactory
-bool DecoderGmeFactory::supports(const QString &source) const
-{
- foreach(QString filter, properties().filters)
- {
- QRegExp regexp(filter, Qt::CaseInsensitive, QRegExp::Wildcard);
- if (regexp.exactMatch(source))
- return true;
- }
- return false;
-}
-
bool DecoderGmeFactory::canDecode(QIODevice *) const
{
return false;
diff --git a/src/plugins/Input/gme/decodergmefactory.h b/src/plugins/Input/gme/decodergmefactory.h
index ae5b4c8aa..169411e0c 100644
--- a/src/plugins/Input/gme/decodergmefactory.h
+++ b/src/plugins/Input/gme/decodergmefactory.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2015 by Ilya Kotov *
+ * Copyright (C) 2010-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -39,7 +39,6 @@ class DecoderGmeFactory : public QObject, 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);