sdrangel/sdrbase/plugin/pluginapi.cpp

62 wiersze
1.7 KiB
C++
Czysty Zwykły widok Historia

#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);
}
2016-10-13 20:23:43 +00:00
PluginAPI::ChannelRegistrations *PluginAPI::getRxChannelRegistrations()
{
2016-10-13 20:23:43 +00:00
return m_pluginManager->getRxChannelRegistrations();
}
void PluginAPI::registerTxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
{
m_pluginManager->registerTxChannel(channelIdURI, channelId, plugin);
}
PluginAPI::ChannelRegistrations *PluginAPI::getTxChannelRegistrations()
{
return m_pluginManager->getTxChannelRegistrations();
}
void PluginAPI::registerMIMOChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
{
m_pluginManager->registerMIMOChannel(channelIdURI, channelId, plugin);
}
PluginAPI::ChannelRegistrations *PluginAPI::getMIMOChannelRegistrations()
{
return m_pluginManager->getMIMOChannelRegistrations();
}
void PluginAPI::registerSampleSource(const QString& sourceName, PluginInterface* plugin)
{
m_pluginManager->registerSampleSource(sourceName, 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);
}
void PluginAPI::registerMiscPlugin(const QString& id, PluginInterface* plugin)
{
m_pluginManager->registerMiscPlugin(id, plugin);
}
PluginAPI::PluginAPI(PluginManager* pluginManager) :
m_pluginManager(pluginManager)
{
}
PluginAPI::~PluginAPI()
{
}