1 #pragma once 2 3 #include <string> 4 5 namespace hwmon 6 { 7 namespace entry 8 { 9 static constexpr auto cinput = "input"; 10 static constexpr auto clabel = "label"; 11 static constexpr auto ctarget = "target"; 12 static constexpr auto cenable = "enable"; 13 14 static const std::string input = cinput; 15 static const std::string label = clabel; 16 static const std::string target = ctarget; 17 static const std::string enable = cenable; 18 } 19 20 namespace enable 21 { 22 static const auto rpmMode = 2; 23 } 24 25 namespace type 26 { 27 static constexpr auto cfan = "fan"; 28 static constexpr auto ctemp = "temp"; 29 static constexpr auto cvolt = "in"; 30 static constexpr auto ccurr = "current"; 31 static constexpr auto cenergy = "energy"; 32 static constexpr auto cpower = "power"; 33 static constexpr auto cpwm = "pwm"; 34 35 36 static const std::string fan = cfan; 37 static const std::string temp = ctemp; 38 static const std::string volt = cvolt; 39 static const std::string curr = ccurr; 40 static const std::string energy = cenergy; 41 static const std::string power = cpower; 42 static const std::string pwm = cpwm; 43 } 44 } 45 46 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 47