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 | namespace entry |
| 8 | { |
Brad Bishop | 0fcb8b3 | 2017-01-04 21:55:04 -0500 | [diff] [blame] | 9 | static constexpr auto cinput = "input"; |
| 10 | static constexpr auto clabel = "label"; |
| 11 | |
| 12 | static const std::string input = cinput; |
| 13 | static const std::string label = clabel; |
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 14 | } |
Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 15 | |
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 16 | namespace type |
| 17 | { |
Brad Bishop | 0fcb8b3 | 2017-01-04 21:55:04 -0500 | [diff] [blame] | 18 | static constexpr auto cfan = "fan"; |
| 19 | static constexpr auto ctemp = "temp"; |
| 20 | static constexpr auto cvolt = "in"; |
| 21 | |
| 22 | static const std::string fan = cfan; |
| 23 | static const std::string temp = ctemp; |
| 24 | static const std::string volt = cvolt; |
Brad Bishop | 6bb97a9 | 2016-12-19 13:06:40 -0500 | [diff] [blame] | 25 | } |
Patrick Williams | 3667cf3 | 2015-10-20 22:39:11 -0500 | [diff] [blame] | 26 | } |
| 27 | |
Brad Bishop | 03476f1 | 2016-12-19 13:09:12 -0500 | [diff] [blame] | 28 | // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |