Make DeviceUISet and DeviceSet classes as they are forward declared like this

pull/154/head
f4exb 2018-02-27 19:26:52 +01:00
rodzic 6bb5e165cf
commit 219cfb0712
3 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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();
} }

Wyświetl plik

@ -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;