mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Sink plugins: put a serializer and deserializer in the core plugin for server
This commit is contained in:
@@ -131,7 +131,16 @@ void HackRFOutputGui::blockApplySettings(bool block)
|
||||
|
||||
bool HackRFOutputGui::handleMessage(const Message& message)
|
||||
{
|
||||
if (HackRFOutput::MsgReportHackRF::match(message))
|
||||
if (HackRFOutput::MsgConfigureHackRF::match(message))
|
||||
{
|
||||
const HackRFOutput::MsgConfigureHackRF& cfg = (HackRFOutput::MsgConfigureHackRF&) message;
|
||||
m_settings = cfg.getSettings();
|
||||
blockApplySettings(true);
|
||||
displaySettings();
|
||||
blockApplySettings(false);
|
||||
return true;
|
||||
}
|
||||
else if (HackRFOutput::MsgReportHackRF::match(message))
|
||||
{
|
||||
displaySettings();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user