1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 23:14:47 -04:00

Save/restore rollup state in channel plugins

This commit is contained in:
Jon Beniston
2021-11-24 09:50:42 +00:00
parent 4b80fbf337
commit 2e68017b12
132 changed files with 310 additions and 2 deletions
@@ -70,6 +70,7 @@ QByteArray InterferometerSettings::serialize() const
if (m_channelMarker) {
s.writeBlob(22, m_channelMarker->serialize());
}
s.writeBlob(23, m_rollupState);
return s.final();
}
@@ -125,9 +126,10 @@ bool InterferometerSettings::deserialize(const QByteArray& data)
}
if (m_channelMarker) {
d.readBlob(21, &bytetmp);
d.readBlob(22, &bytetmp);
m_channelMarker->deserialize(bytetmp);
}
d.readBlob(23, &m_rollupState);
return true;
}