mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-03 15:31:15 -05:00
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
#include "plugin/pluginapi.h"
|
|
#include "plugin/pluginmanager.h"
|
|
|
|
void PluginAPI::registerRxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
|
{
|
|
m_pluginManager->registerRxChannel(channelIdURI, channelId, plugin);
|
|
}
|
|
|
|
void PluginAPI::registerSampleSource(const QString& sourceName, PluginInterface* plugin)
|
|
{
|
|
m_pluginManager->registerSampleSource(sourceName, plugin);
|
|
}
|
|
|
|
PluginAPI::ChannelRegistrations *PluginAPI::getRxChannelRegistrations()
|
|
{
|
|
return m_pluginManager->getRxChannelRegistrations();
|
|
}
|
|
|
|
void PluginAPI::registerTxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
|
{
|
|
m_pluginManager->registerTxChannel(channelIdURI, channelId, plugin);
|
|
}
|
|
|
|
void PluginAPI::registerSampleSink(const QString& sinkName, PluginInterface* plugin)
|
|
{
|
|
m_pluginManager->registerSampleSink(sinkName, plugin);
|
|
}
|
|
|
|
void PluginAPI::registerSampleMIMO(const QString& mimoName, PluginInterface* plugin)
|
|
{
|
|
m_pluginManager->registerSampleMIMO(mimoName, plugin);
|
|
}
|
|
|
|
PluginAPI::ChannelRegistrations *PluginAPI::getTxChannelRegistrations()
|
|
{
|
|
return m_pluginManager->getTxChannelRegistrations();
|
|
}
|
|
|
|
PluginAPI::PluginAPI(PluginManager* pluginManager) :
|
|
m_pluginManager(pluginManager)
|
|
{
|
|
}
|
|
|
|
PluginAPI::~PluginAPI()
|
|
{
|
|
}
|