| Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 1 | #ifndef __HWMON_H |
| 2 | #define __HWMON_H | ||||
| 3 | |||||
| 4 | #include <string> | ||||
| 5 | |||||
| 6 | namespace hwmon | ||||
| 7 | { | ||||
| Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame^] | 8 | using namespace std::literals; |
| Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 9 | |
| Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame^] | 10 | namespace entry |
| 11 | { | ||||
| 12 | static const std::string input = "input"s; | ||||
| 13 | } | ||||
| Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 14 | |
| Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame^] | 15 | namespace type |
| 16 | { | ||||
| 17 | static const std::string fan = "fan"s; | ||||
| 18 | static const std::string temp = "temp"s; | ||||
| 19 | static const std::string volt = "in"s; | ||||
| 20 | } | ||||
| Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 21 | } |
| 22 | |||||
| 23 | #endif | ||||