mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-14 23:43:43 -04:00
Deep redesign: removed inheritance depedency between bladeRF serializer and sample source serializer
This commit is contained in:
@@ -45,7 +45,7 @@ bool BladeRFSerializer::readSerializedData(const QByteArray& serializedData, Bla
|
||||
return false;
|
||||
}
|
||||
|
||||
if (d.getVersion() == m_version)
|
||||
if (d.getVersion() == SampleSourceSerializer::getSerializerVersion())
|
||||
{
|
||||
int intval;
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
|
||||
#include "util/samplesourceserializer.h"
|
||||
|
||||
class BladeRFSerializer : public SampleSourceSerializer
|
||||
class BladeRFSerializer
|
||||
{
|
||||
public:
|
||||
struct BladeRFData
|
||||
{
|
||||
Data m_data;
|
||||
SampleSourceSerializer::Data m_data;
|
||||
bool m_xb200;
|
||||
quint32 m_xb200Path;
|
||||
quint32 m_xb200Filter;
|
||||
|
||||
Reference in New Issue
Block a user