| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <filesystem> |
| 7 | #include <string> |
| 8 | |
| 9 | class ISysfsWriter |
| 10 | { |
| 11 | public: |
| 12 | virtual void write(std::filesystem::path const &sysfsEntry, |
| 13 | std::string const &value) = 0; |
| 14 | |
| 15 | virtual ~ISysfsWriter() = default; |
| 16 | }; |