Daniel Hsu | f6470b5 | 2025-02-26 15:03:47 +0800 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include "common/include/software_manager.hpp" |
| 4 | |
| 5 | namespace phosphor::software::cpld |
| 6 | { |
| 7 | |
| 8 | class CPLDSoftwareManager : public phosphor::software::manager::SoftwareManager |
| 9 | { |
| 10 | public: |
| 11 | CPLDSoftwareManager(sdbusplus::async::context& ctx) : |
| 12 | SoftwareManager(ctx, "CPLD") |
| 13 | {} |
| 14 | |
| 15 | sdbusplus::async::task<bool> initDevice(const std::string& service, |
| 16 | const std::string& path, |
| 17 | SoftwareConfig& config) final; |
| 18 | |
| 19 | void start(); |
| 20 | }; |
| 21 | |
| 22 | } // namespace phosphor::software::cpld |