tools: add data interface type
Add data interface type to the object, to allow checking against what
stat() returns.
Change-Id: I72aed1ffbca63dbfb003359c4bbe570f966a8649
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/bt.hpp b/tools/bt.hpp
index e005937..10050b6 100644
--- a/tools/bt.hpp
+++ b/tools/bt.hpp
@@ -9,7 +9,13 @@
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;
};