blob: 4b53f26f6f46af71a1c2fb93ea1285601f6c5283 [file] [log] [blame]
#pragma once
#include "blob_interface.hpp"
#include "interface.hpp"
class LpcDataHandler : public DataInterface
{
public:
explicit LpcDataHandler(BlobInterface* blob) : blob(blob){};
bool sendContents(const std::string& input, std::uint16_t session) override;
blobs::FirmwareBlobHandler::UpdateFlags supportedType() const override
{
return flags;
}
private:
BlobInterface* blob;
blobs::FirmwareBlobHandler::UpdateFlags flags =
blobs::FirmwareBlobHandler::UpdateFlags::lpc;
};