| #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 |