summaryrefslogtreecommitdiffstats
path: root/src/ModPlugin.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 14:11:26 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 14:11:26 +0100
commitb5fd4a6ab6ac92af2141233f802e71c861cd89f4 (patch)
tree1be362d5b0bbe9abe410a8647a5b79050846cbce /src/ModPlugin.h
parente919a3b2cdfd22ac15b34d2212b46ec8650a5e71 (diff)
downloaddabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.tar.gz
dabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.tar.bz2
dabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.zip
Remove ModFormat
Diffstat (limited to 'src/ModPlugin.h')
-rw-r--r--src/ModPlugin.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/ModPlugin.h b/src/ModPlugin.h
index 10a04e1..215951a 100644
--- a/src/ModPlugin.h
+++ b/src/ModPlugin.h
@@ -19,15 +19,13 @@
along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MOD_PLUGIN_H
-#define MOD_PLUGIN_H
+#pragma once
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-#include "ModFormat.h"
#include "Buffer.h"
#include <sys/types.h>
@@ -40,22 +38,8 @@
class ModPlugin
{
public:
- ModPlugin(ModFormat inputFormat, ModFormat outputFormat);
- virtual ~ModPlugin();
-
- ModFormat inputFormat();
- ModFormat outputFormat();
virtual int process(std::vector<Buffer*> dataIn,
std::vector<Buffer*> dataOut) = 0;
virtual const char* name() = 0;
-
-protected:
- ModFormat myInputFormat;
- ModFormat myOutputFormat;
-
- void inputFormat(ModFormat format);
- void outputFormat(ModFormat format);
};
-
-#endif // MOD_PLUGIN_H