Alexander Hansen | f2c95a0 | 2024-11-26 11:16:44 +0100 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "common/include/software_manager.hpp" |
| 4 | |
| 5 | #include <sdbusplus/async.hpp> |
| 6 | #include <sdbusplus/async/context.hpp> |
| 7 | |
| 8 | using namespace phosphor::software::manager; |
| 9 | |
| 10 | const std::string configTypeBIOS = "BIOS"; |
| 11 | |
| 12 | class BIOSSoftwareManager : public SoftwareManager |
| 13 | { |
| 14 | public: |
| 15 | BIOSSoftwareManager(sdbusplus::async::context& ctx, bool isDryRun); |
| 16 | |
| 17 | sdbusplus::async::task<bool> initDevice(const std::string& service, |
| 18 | const std::string& path, |
| 19 | SoftwareConfig& config) final; |
| 20 | |
| 21 | private: |
| 22 | bool dryRun; |
| 23 | }; |