1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-10 17:58:36 -04:00

Multi device support: migrate device specific stuff outside plugin classes completed for source plugins

This commit is contained in:
f4exb
2016-05-16 02:14:36 +02:00
parent 4756299ad9
commit 7412ee0d54
28 changed files with 256 additions and 255 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
#include "hackrfsettings.h"
#include <QString>
class PluginAPI;
class DeviceAPI;
class HackRFThread;
class HackRFInput : public SampleSource {
@@ -65,7 +65,7 @@ public:
{ }
};
HackRFInput(PluginAPI *pluginAPI);
HackRFInput(DeviceAPI *deviceAPI);
virtual ~HackRFInput();
virtual bool init(const Message& message);
@@ -83,7 +83,7 @@ private:
hackrf_device *open_hackrf_from_sequence(int sequence);
void setCenterFrequency(quint64 freq);
PluginAPI *m_pluginAPI;
DeviceAPI *m_deviceAPI;
QMutex m_mutex;
HackRFSettings m_settings;
struct hackrf_device* m_dev;