mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
MIMO: copied test source as multiple input. Adaptation of main classes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright (C) 2016 Edouard Griffiths, F4EXB //
|
||||
// Copyright (C) 2016-2019 Edouard Griffiths, F4EXB //
|
||||
// //
|
||||
// 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 //
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QPluginLoader>
|
||||
//#include <QComboBox>
|
||||
#include <QDebug>
|
||||
|
||||
#include <cstdio>
|
||||
@@ -91,6 +90,7 @@ void PluginManager::loadPluginsFinal()
|
||||
|
||||
DeviceEnumerator::instance()->enumerateRxDevices(this);
|
||||
DeviceEnumerator::instance()->enumerateTxDevices(this);
|
||||
DeviceEnumerator::instance()->enumerateMIMODevices(this);
|
||||
}
|
||||
|
||||
void PluginManager::registerRxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
||||
@@ -129,6 +129,15 @@ void PluginManager::registerSampleSink(const QString& sinkName, PluginInterface*
|
||||
m_sampleSinkRegistrations.append(PluginAPI::SamplingDeviceRegistration(sinkName, plugin));
|
||||
}
|
||||
|
||||
void PluginManager::registerSampleMIMO(const QString& mimoName, PluginInterface* plugin)
|
||||
{
|
||||
qDebug() << "PluginManager::registerSampleMIMO "
|
||||
<< plugin->getPluginDescriptor().displayedName.toStdString().c_str()
|
||||
<< " with MIMO name " << mimoName.toStdString().c_str();
|
||||
|
||||
m_sampleMIMORegistrations.append(PluginAPI::SamplingDeviceRegistration(mimoName, plugin));
|
||||
}
|
||||
|
||||
void PluginManager::loadPluginsDir(const QDir& dir)
|
||||
{
|
||||
QDir pluginsDir(dir);
|
||||
|
||||
Reference in New Issue
Block a user