mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
Sink plugins: put a serializer and deserializer in the core plugin for server
This commit is contained in:
@@ -127,7 +127,16 @@ bool BladerfOutputGui::deserialize(const QByteArray& data)
|
||||
|
||||
bool BladerfOutputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (BladerfOutput::MsgReportBladerf::match(message))
|
||||
if (BladerfOutput::MsgConfigureBladerf::match(message))
|
||||
{
|
||||
const BladerfOutput::MsgConfigureBladerf& cfg = (BladerfOutput::MsgConfigureBladerf&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (BladerfOutput::MsgReportBladerf::match(message))
|
||||
{
|
||||
displaySettings();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user