| #include "interfaces.hpp" |
| #include "sysfs/util.hpp" |
| * A WriteInterface that is expecting a path that's sysfs, but really could be |
| class SysFsWritePercent : public WriteInterface |
| SysFsWritePercent(std::string& writepath, int64_t min, int64_t max) |
| : WriteInterface(min, max), |
| _writepath(FixupPath(writepath)) |
| void write(double value) override; |
| class SysFsWrite : public WriteInterface |
| SysFsWrite(std::string& writepath, int64_t min, int64_t max) |
| : WriteInterface(min, max), |
| _writepath(FixupPath(writepath)) |
| void write(double value) override; |