kopia lustrzana https://github.com/f4exb/sdrangel
Make DeviceUISet and DeviceSet classes as they are forward declared like this
rodzic
6bb5e165cf
commit
219cfb0712
|
@ -32,8 +32,9 @@ class DeviceSinkAPI;
|
||||||
class ChannelMarker;
|
class ChannelMarker;
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
|
|
||||||
struct DeviceUISet
|
class DeviceUISet
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
SpectrumVis *m_spectrumVis;
|
SpectrumVis *m_spectrumVis;
|
||||||
GLSpectrum *m_spectrum;
|
GLSpectrum *m_spectrum;
|
||||||
GLSpectrumGUI *m_spectrumGUI;
|
GLSpectrumGUI *m_spectrumGUI;
|
||||||
|
|
|
@ -295,7 +295,7 @@ void DeviceSet::loadTxChannelSettings(const Preset *preset, PluginAPI *pluginAPI
|
||||||
// everything, that is still "available" is not needed anymore
|
// everything, that is still "available" is not needed anymore
|
||||||
for(int i = 0; i < openChannels.count(); i++)
|
for(int i = 0; i < openChannels.count(); i++)
|
||||||
{
|
{
|
||||||
qDebug("DeviceUISet::loadChannelSettings: destroying spare channel [%s]", qPrintable(openChannels[i].m_channelName));
|
qDebug("DeviceSet::loadChannelSettings: destroying spare channel [%s]", qPrintable(openChannels[i].m_channelName));
|
||||||
openChannels[i].m_channelSourceAPI->destroy();
|
openChannels[i].m_channelSourceAPI->destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,9 @@ class ChannelSinkAPI;
|
||||||
class ChannelSourceAPI;
|
class ChannelSourceAPI;
|
||||||
class Preset;
|
class Preset;
|
||||||
|
|
||||||
struct DeviceSet
|
class DeviceSet
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
DSPDeviceSourceEngine *m_deviceSourceEngine;
|
DSPDeviceSourceEngine *m_deviceSourceEngine;
|
||||||
DeviceSourceAPI *m_deviceSourceAPI;
|
DeviceSourceAPI *m_deviceSourceAPI;
|
||||||
DSPDeviceSinkEngine *m_deviceSinkEngine;
|
DSPDeviceSinkEngine *m_deviceSinkEngine;
|
||||||
|
|
Ładowanie…
Reference in New Issue