1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 04:41:55 -05:00

Sample sink plugins: removed useless init pure virtual method

This commit is contained in:
f4exb 2017-04-12 23:26:40 +02:00
parent 2136dc7672
commit 3ab855c927
10 changed files with 3 additions and 22 deletions

View File

@ -51,11 +51,6 @@ BladerfOutput::~BladerfOutput()
m_deviceAPI->setBuddySharedPtr(0);
}
bool BladerfOutput::init(const Message& cmd)
{
return false;
}
bool BladerfOutput::start(int device)
{
// QMutexLocker mutexLocker(&m_mutex);

View File

@ -71,7 +71,6 @@ public:
BladerfOutput(DeviceSinkAPI *deviceAPI);
virtual ~BladerfOutput();
virtual bool init(const Message& message);
virtual bool start(int device);
virtual void stop();

View File

@ -26,7 +26,7 @@
const PluginDescriptor BladerfOutputPlugin::m_pluginDescriptor = {
QString("BladerRF Output"),
QString("3.3.3"),
QString("3.4.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

View File

@ -70,11 +70,6 @@ void FileSinkOutput::openFileStream()
qDebug() << "FileSinkOutput::openFileStream: " << m_fileName.toStdString().c_str();
}
bool FileSinkOutput::init(const Message& message)
{
return false;
}
bool FileSinkOutput::start(int device)
{
QMutexLocker mutexLocker(&m_mutex);

View File

@ -151,7 +151,6 @@ public:
FileSinkOutput(DeviceSinkAPI *deviceAPI, const QTimer& masterTimer);
virtual ~FileSinkOutput();
virtual bool init(const Message& message);
virtual bool start(int device);
virtual void stop();

View File

@ -25,7 +25,7 @@
const PluginDescriptor FileSinkPlugin::m_pluginDescriptor = {
QString("File sink output"),
QString("3.3.3"),
QString("3.4.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

View File

@ -53,11 +53,6 @@ HackRFOutput::~HackRFOutput()
m_deviceAPI->setBuddySharedPtr(0);
}
bool HackRFOutput::init(const Message& cmd)
{
return false;
}
bool HackRFOutput::start(int device)
{
// QMutexLocker mutexLocker(&m_mutex);

View File

@ -71,7 +71,6 @@ public:
HackRFOutput(DeviceSinkAPI *deviceAPI);
virtual ~HackRFOutput();
virtual bool init(const Message& message);
virtual bool start(int device);
virtual void stop();

View File

@ -29,7 +29,7 @@
const PluginDescriptor HackRFOutputPlugin::m_pluginDescriptor = {
QString("HackRF Output"),
QString("3.3.3"),
QString("3.4.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

View File

@ -31,7 +31,6 @@ public:
DeviceSampleSink();
virtual ~DeviceSampleSink();
virtual bool init(const Message& cmd) = 0;
virtual bool start(int device) = 0;
virtual void stop() = 0;