1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Moved DeviceSet from sdrsrv to sdrbase

This commit is contained in:
f4exb 2020-10-01 06:09:37 +02:00
parent f92622b45a
commit dc31bd8c48
5 changed files with 8 additions and 8 deletions

View File

@ -134,6 +134,7 @@ set(sdrbase_SOURCES
device/deviceapi.cpp device/deviceapi.cpp
device/deviceenumerator.cpp device/deviceenumerator.cpp
device/deviceset.cpp
device/deviceuserargs.cpp device/deviceuserargs.cpp
device/deviceutils.cpp device/deviceutils.cpp
@ -291,6 +292,7 @@ set(sdrbase_HEADERS
device/deviceapi.h device/deviceapi.h
device/deviceenumerator.h device/deviceenumerator.h
device/deviceset.h
device/deviceuserargs.h device/deviceuserargs.h
device/deviceutils.h device/deviceutils.h

View File

@ -58,12 +58,6 @@ public:
void addRollupWidget(QWidget *widget); //!< Add rollup widget to channel window void addRollupWidget(QWidget *widget); //!< Add rollup widget to channel window
int getNumberOfChannels() const { return m_channelInstanceRegistrations.size(); } 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 freeChannels();
void deleteChannel(int channelIndex); void deleteChannel(int channelIndex);
void loadRxChannelSettings(const Preset* preset, PluginAPI *pluginAPI); void loadRxChannelSettings(const Preset* preset, PluginAPI *pluginAPI);
@ -72,6 +66,12 @@ public:
void saveTxChannelSettings(Preset* preset); void saveTxChannelSettings(Preset* preset);
void loadMIMOChannelSettings(const Preset* preset, PluginAPI *pluginAPI); void loadMIMOChannelSettings(const Preset* preset, PluginAPI *pluginAPI);
void saveMIMOChannelSettings(Preset* preset); 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 // These are the number of channel types available for selection
void setNumberOfAvailableRxChannels(int number) { m_nbAvailableRxChannels = number; } void setNumberOfAvailableRxChannels(int number) { m_nbAvailableRxChannels = number; }

View File

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