Adriana Kobylak | 9f89e2e | 2018-05-30 13:16:20 -0500 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <sdbusplus/bus.hpp> |
| 4 | |
| 5 | namespace phosphor |
| 6 | { |
| 7 | namespace software |
| 8 | { |
| 9 | namespace updater |
| 10 | { |
| 11 | |
| 12 | /** |
| 13 | * @class Flash |
| 14 | * @brief Contains flash management functions. |
| 15 | * @details The software class that contains functions to interact |
| 16 | * with the flash. |
| 17 | */ |
| 18 | class Flash |
| 19 | { |
| 20 | public: |
| 21 | /** |
| 22 | * @brief Writes the image file(s) to flash |
| 23 | */ |
| 24 | virtual void flashWrite() = 0; |
| 25 | }; |
| 26 | |
| 27 | } // namespace updater |
| 28 | } // namespace software |
| 29 | } // namespace phosphor |