xref: /openbmc/phosphor-bmc-code-mgmt/bios/bios_software_manager.hpp (revision f2c95a08ad4340d8e8e7ccdb1af9f5a45d180530)
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 };
24