blob: d4710ce0ffbe1124b50a7a84c38ea8d0203cb422 [file] [log] [blame]
#pragma once
#include "blob_interface.hpp"
#include "interface.hpp"
namespace host_tool
{
class BtDataHandler : public DataInterface
{
public:
explicit BtDataHandler(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::ipmi;
};
} // namespace host_tool