1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-04-25 08:53:59 -04:00

Moved DeviceSet from sdrsrv to sdrbase

This commit is contained in:
f4exb 2020-10-01 06:09:59 +02:00
parent 4f6ee7dc2f
commit 47d2520b3a
5 changed files with 8 additions and 8 deletions

View File

@ -148,6 +148,7 @@ set(sdrbase_SOURCES
device/deviceapi.cpp
device/deviceenumerator.cpp
device/deviceset.cpp
device/deviceuserargs.cpp
device/deviceutils.cpp
@ -305,6 +306,7 @@ set(sdrbase_HEADERS
device/deviceapi.h
device/deviceenumerator.h
device/deviceset.h
device/deviceuserargs.h
device/deviceutils.h

View File

@ -64,12 +64,6 @@ public:
void addRollupWidget(QWidget *widget); //!< Add rollup widget to channel window
int getNumberOfChannels() const { return m_channelInstanceRegistrations.size(); }
void registerRxChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void registerTxChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void registerChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void removeRxChannelInstance(PluginInstanceGUI* pluginGUI);
void removeTxChannelInstance(PluginInstanceGUI* pluginGUI);
void removeChannelInstance(PluginInstanceGUI* pluginGUI);
void freeChannels();
void deleteChannel(int channelIndex);
void loadRxChannelSettings(const Preset* preset, PluginAPI *pluginAPI);
@ -78,6 +72,12 @@ public:
void saveTxChannelSettings(Preset* preset);
void loadMIMOChannelSettings(const Preset* preset, PluginAPI *pluginAPI);
void saveMIMOChannelSettings(Preset* preset);
void registerRxChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void registerTxChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void registerChannelInstance(const QString& channelName, PluginInstanceGUI* pluginGUI);
void removeRxChannelInstance(PluginInstanceGUI* pluginGUI);
void removeTxChannelInstance(PluginInstanceGUI* pluginGUI);
void removeChannelInstance(PluginInstanceGUI* pluginGUI);
// These are the number of channel types available for selection
void setNumberOfAvailableRxChannels(int number) { m_nbAvailableRxChannels = number; }

View File

@ -2,14 +2,12 @@ project (sdrsrv)
set(sdrsrv_SOURCES
maincore.cpp
device/deviceset.cpp
feature/featureset.cpp
webapi/webapiadaptersrv.cpp
)
set(sdrsrv_HEADERS
maincore.h
device/deviceset.h
feature/featureset.h
webapi/webapiadaptersrv.h
)