summaryrefslogtreecommitdiffstats
path: root/src/OutputZeroMQ.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputZeroMQ.h')
-rw-r--r--src/OutputZeroMQ.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/OutputZeroMQ.h b/src/OutputZeroMQ.h
index 85f85a7..3107225 100644
--- a/src/OutputZeroMQ.h
+++ b/src/OutputZeroMQ.h
@@ -2,7 +2,7 @@
Copyright (C) 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in
Right of Canada (Communications Research Center Canada)
- Copyright (C) 2014
+ Copyright (C) 2016
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -24,8 +24,7 @@
along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef OUTPUT_ZEROMQ_H
-#define OUTPUT_ZEROMQ_H
+#pragma once
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -33,7 +32,7 @@
#if defined(HAVE_ZEROMQ)
-#include "ModOutput.h"
+#include "ModPlugin.h"
#include "zmq.hpp"
class OutputZeroMQ : public ModOutput
@@ -41,7 +40,7 @@ class OutputZeroMQ : public ModOutput
public:
OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut = NULL);
virtual ~OutputZeroMQ();
- virtual int process(Buffer* dataIn, Buffer* dataOut);
+ virtual int process(Buffer* dataIn);
const char* name() { return m_name.c_str(); }
protected:
@@ -57,5 +56,3 @@ class OutputZeroMQ : public ModOutput
#endif // HAVE_ZEROMQ
-#endif // OUTPUT_ZEROMQ_H
-