blob: e4589f5d29f10b513ae0a67b9839d02dc44b1ddd [file] [log] [blame]
Patrick Venture25528b42018-11-06 18:29:43 -08001#pragma once
2
3namespace blobs
4{
5
6/**
7 * Each image update mechanism must implement the ImageHandlerInterface.
8 */
9class ImageHandlerInterface
10{
11 public:
12 virtual ~ImageHandlerInterface() = default;
13
14 /**
15 * open the firmware update mechanism.
16 *
17 * @return bool - returns true on success.
18 */
19 virtual bool open() = 0;
20};
21
22} // namespace blobs