mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-03 05:37:50 -04:00
Removed main window friendness from device source and sink APIs
This commit is contained in:
parent
933542e289
commit
f4e214a235
@ -41,6 +41,12 @@ class SDRANGEL_API DeviceSinkAPI : public QObject {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
DeviceSinkAPI(int deviceTabIndex,
|
||||||
|
DSPDeviceSinkEngine *deviceEngine,
|
||||||
|
GLSpectrum *glSpectrum,
|
||||||
|
ChannelWindow *channelWindow);
|
||||||
|
~DeviceSinkAPI();
|
||||||
|
|
||||||
// Device engine stuff
|
// Device engine stuff
|
||||||
void addSpectrumSink(BasebandSampleSink* sink); //!< Add the spectrum sample sink to device engine (spectrum vis)
|
void addSpectrumSink(BasebandSampleSink* sink); //!< Add the spectrum sample sink to device engine (spectrum vis)
|
||||||
void removeSpectrumSink(BasebandSampleSink* sink); //!< Remove the spectrum sample sink from device engine (spectrum vis)
|
void removeSpectrumSink(BasebandSampleSink* sink); //!< Remove the spectrum sample sink from device engine (spectrum vis)
|
||||||
@ -129,12 +135,6 @@ protected:
|
|||||||
|
|
||||||
typedef QList<ChannelInstanceRegistration> ChannelInstanceRegistrations;
|
typedef QList<ChannelInstanceRegistration> ChannelInstanceRegistrations;
|
||||||
|
|
||||||
DeviceSinkAPI(int deviceTabIndex,
|
|
||||||
DSPDeviceSinkEngine *deviceEngine,
|
|
||||||
GLSpectrum *glSpectrum,
|
|
||||||
ChannelWindow *channelWindow);
|
|
||||||
~DeviceSinkAPI();
|
|
||||||
|
|
||||||
void renameChannelInstances();
|
void renameChannelInstances();
|
||||||
|
|
||||||
int m_deviceTabIndex;
|
int m_deviceTabIndex;
|
||||||
@ -158,7 +158,6 @@ protected:
|
|||||||
bool m_isBuddyLeader;
|
bool m_isBuddyLeader;
|
||||||
const QTimer& m_masterTimer;
|
const QTimer& m_masterTimer;
|
||||||
|
|
||||||
friend class MainWindow;
|
|
||||||
friend class DeviceSourceAPI;
|
friend class DeviceSourceAPI;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -43,6 +43,12 @@ class SDRANGEL_API DeviceSourceAPI : public QObject {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
DeviceSourceAPI(int deviceTabIndex,
|
||||||
|
DSPDeviceSourceEngine *deviceSourceEngine,
|
||||||
|
GLSpectrum *glSpectrum,
|
||||||
|
ChannelWindow *channelWindow);
|
||||||
|
~DeviceSourceAPI();
|
||||||
|
|
||||||
// Device engine stuff
|
// Device engine stuff
|
||||||
void addSink(BasebandSampleSink* sink); //!< Add a sample sink to device engine
|
void addSink(BasebandSampleSink* sink); //!< Add a sample sink to device engine
|
||||||
void removeSink(BasebandSampleSink* sink); //!< Remove a sample sink from device engine
|
void removeSink(BasebandSampleSink* sink); //!< Remove a sample sink from device engine
|
||||||
@ -130,11 +136,6 @@ protected:
|
|||||||
|
|
||||||
typedef QList<ChannelInstanceRegistration> ChannelInstanceRegistrations;
|
typedef QList<ChannelInstanceRegistration> ChannelInstanceRegistrations;
|
||||||
|
|
||||||
DeviceSourceAPI(int deviceTabIndex,
|
|
||||||
DSPDeviceSourceEngine *deviceSourceEngine,
|
|
||||||
GLSpectrum *glSpectrum,
|
|
||||||
ChannelWindow *channelWindow);
|
|
||||||
~DeviceSourceAPI();
|
|
||||||
|
|
||||||
void renameChannelInstances();
|
void renameChannelInstances();
|
||||||
|
|
||||||
@ -159,7 +160,6 @@ protected:
|
|||||||
bool m_isBuddyLeader;
|
bool m_isBuddyLeader;
|
||||||
const QTimer& m_masterTimer;
|
const QTimer& m_masterTimer;
|
||||||
|
|
||||||
friend class MainWindow;
|
|
||||||
friend class DeviceSinkAPI;
|
friend class DeviceSinkAPI;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user