Christopher Meis | 7e446a4 | 2024-10-22 09:36:41 +0200 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "common/include/software_manager.hpp" |
| 4 | |
| 5 | #include <sdbusplus/async/context.hpp> |
| 6 | |
| 7 | namespace ManagerInf = phosphor::software::manager; |
| 8 | namespace SDBusAsync = sdbusplus::async; |
| 9 | |
| 10 | class I2CVRSoftwareManager : public ManagerInf::SoftwareManager |
| 11 | { |
| 12 | public: |
| 13 | I2CVRSoftwareManager(SDBusAsync::context& ctx); |
| 14 | |
| 15 | SDBusAsync::task<bool> initDevice(const std::string& service, |
| 16 | const std::string& path, |
| 17 | SoftwareConfig& config) final; |
| 18 | |
| 19 | void start(); |
| 20 | }; |