OSDN Git Service

Improved internal decoder interface.
[lamexp/LameXP.git] / src / Decoder_Abstract.cpp
index 5957fad..2d34e9b 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
 
 #include "Decoder_Abstract.h"
 
-#include <QStringList>
+#include <MUtils/Exception.h>
 
 AbstractDecoder::AbstractDecoder(void)
 {
@@ -46,7 +46,7 @@ bool AbstractDecoder::isDecoderAvailable(void)
        return true;
 }
 
-QStringList AbstractDecoder::supportedTypes(void)
+const AbstractDecoder::supportedType_t *AbstractDecoder::supportedTypes(void)
 {
-       return QStringList();
-}
+       MUTILS_THROW("This function must be re-implemented in sub-classes!");
+}
\ No newline at end of file