Brad Bishop | 26b815f | 2017-01-04 13:32:47 -0500 | [diff] [blame] | 1 | #pragma once |
Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 2 | |
3 | #include <string> | ||||
4 | |||||
5 | namespace hwmon | ||||
6 | { | ||||
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 7 | using namespace std::literals; |
Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 8 | |
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 9 | namespace entry |
10 | { | ||||
11 | static const std::string input = "input"s; | ||||
Brad Bishop | 6e8f623 | 2017-01-04 15:39:03 -0500 | [diff] [blame] | 12 | static const std::string label = "label"s; |
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 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 | |||||
Brad Bishop | 03476f1 | 2016-12-19 13:09:12 -0500 | [diff] [blame] | 23 | // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |