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 13 static const std::string input = cinput; 14 static const std::string label = clabel; 15 static const std::string target = ctarget; 16 } 17 18 namespace type 19 { 20 static constexpr auto cfan = "fan"; 21 static constexpr auto ctemp = "temp"; 22 static constexpr auto cvolt = "in"; 23 static constexpr auto ccurr = "current"; 24 static constexpr auto cenergy = "energy"; 25 static constexpr auto cpower = "power"; 26 27 static const std::string fan = cfan; 28 static const std::string temp = ctemp; 29 static const std::string volt = cvolt; 30 static const std::string curr = ccurr; 31 static const std::string energy = cenergy; 32 static const std::string power = cpower; 33 } 34 } 35 36 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 37