blob: 7e52bb7786a08ea73142184e76f27fb1ec63393c [file] [log] [blame]
Alexander Hansenf2c95a02024-11-26 11:16:44 +01001#pragma once
2
3#include "common/include/software_manager.hpp"
4
5#include <sdbusplus/async.hpp>
6#include <sdbusplus/async/context.hpp>
7
8using namespace phosphor::software::manager;
9
10const std::string configTypeBIOS = "BIOS";
11
12class 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};