Patrick Venture | 25528b4 | 2018-11-06 18:29:43 -0800 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | namespace blobs | ||||
4 | { | ||||
5 | |||||
6 | /** | ||||
7 | * Each image update mechanism must implement the ImageHandlerInterface. | ||||
8 | */ | ||||
9 | class 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 |