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

FileRecord improvement: added visual indicator for CRC check in the GUI

This commit is contained in:
f4exb
2018-10-09 18:52:39 +02:00
parent bfb7583544
commit 4032d62b3d
4 changed files with 60 additions and 0 deletions
@@ -228,6 +228,25 @@ public:
{ }
};
class MsgReportHeaderCRC : public Message {
MESSAGE_CLASS_DECLARATION
public:
bool isOK() const { return m_ok; }
static MsgReportHeaderCRC* create(bool ok) {
return new MsgReportHeaderCRC(ok);
}
protected:
bool m_ok;
MsgReportHeaderCRC(bool ok) :
Message(),
m_ok(ok)
{ }
};
FileSourceInput(DeviceSourceAPI *deviceAPI);
virtual ~FileSourceInput();
virtual void destroy();