Alexander Hansen | 1ba6e1c | 2024-11-26 11:16:44 +0100 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include "common/include/software_manager.hpp" |
| 4 | #include "sdbusplus/async/context.hpp" |
| 5 | |
| 6 | #include <sdbusplus/async.hpp> |
| 7 | |
| 8 | const std::string configTypeSPIDevice = "SPIFlash"; |
| 9 | |
| 10 | class SPIDeviceCodeUpdater : public SoftwareManager |
| 11 | { |
| 12 | public: |
| 13 | SPIDeviceCodeUpdater(sdbusplus::async::context& ctx, bool isDryRun, |
| 14 | bool debug); |
| 15 | |
| 16 | sdbusplus::async::task<> getInitialConfigurationSingleDevice( |
| 17 | const std::string& service, const std::string& path, |
| 18 | DeviceConfig& config) final; |
| 19 | |
| 20 | bool debug; |
| 21 | |
| 22 | private: |
| 23 | }; |