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/interface.hpp b/tools/interface.hpp
index 39f3fb8..0294c1d 100644
--- a/tools/interface.hpp
+++ b/tools/interface.hpp
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "firmware_handler.hpp"
+
 #include <cstdint>
 #include <string>
 
@@ -19,4 +21,11 @@
      */
     virtual bool sendContents(const std::string& input,
                               std::uint16_t session) = 0;
+
+    /**
+     * Return the supported data interface for this.
+     *
+     * @return the enum value corresponding to the supported type.
+     */
+    virtual blobs::FirmwareBlobHandler::UpdateFlags supportedType() const = 0;
 };