1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-13 23:13:49 -04:00

New devices handling (1)

This commit is contained in:
f4exb
2017-11-02 03:30:54 +01:00
parent 21ba11d90e
commit 55ad76f43c
20 changed files with 654 additions and 597 deletions
+12
View File
@@ -17,6 +17,18 @@ class SDRANGEL_API PluginAPI : public QObject {
Q_OBJECT
public:
struct SamplingDeviceRegistration //!< This is the device registration
{
QString m_deviceId;
PluginInterface* m_plugin;
SamplingDeviceRegistration(const QString& deviceId, PluginInterface* plugin) :
m_deviceId(deviceId),
m_plugin(plugin)
{ }
};
typedef QList<SamplingDeviceRegistration> SamplingDeviceRegistrations;
struct ChannelRegistration
{
QString m_channelId; //!< Channel or device type ID