blob: 6ae1885efed1e2d161143f1c5b30cacc0bd49854 [file] [log] [blame]
Brad Bishop26b815f2017-01-04 13:32:47 -05001#pragma once
Patrick Williams3667cf32015-10-20 22:39:11 -05002
3#include <string>
4
5namespace hwmon
6{
Brad Bishop6bb97a92016-12-19 13:06:40 -05007namespace entry
8{
Brad Bishop0fcb8b32017-01-04 21:55:04 -05009static constexpr auto cinput = "input";
10static constexpr auto clabel = "label";
Matthew Barthbf7b7b12017-03-07 15:46:59 -060011static constexpr auto ctarget = "target";
Brad Bishop0fcb8b32017-01-04 21:55:04 -050012
13static const std::string input = cinput;
14static const std::string label = clabel;
Matthew Barthbf7b7b12017-03-07 15:46:59 -060015static const std::string target = ctarget;
Brad Bishop6bb97a92016-12-19 13:06:40 -050016}
Patrick Williams3667cf32015-10-20 22:39:11 -050017
Brad Bishop6bb97a92016-12-19 13:06:40 -050018namespace type
19{
Brad Bishop0fcb8b32017-01-04 21:55:04 -050020static constexpr auto cfan = "fan";
21static constexpr auto ctemp = "temp";
22static constexpr auto cvolt = "in";
Brad Bishop5afe21a2017-01-06 20:44:05 -050023static constexpr auto ccurr = "current";
24static constexpr auto cenergy = "energy";
25static constexpr auto cpower = "power";
Brad Bishop0fcb8b32017-01-04 21:55:04 -050026
27static const std::string fan = cfan;
28static const std::string temp = ctemp;
29static const std::string volt = cvolt;
Brad Bishop5afe21a2017-01-06 20:44:05 -050030static const std::string curr = ccurr;
31static const std::string energy = cenergy;
32static const std::string power = cpower;
Brad Bishop6bb97a92016-12-19 13:06:40 -050033}
Patrick Williams3667cf32015-10-20 22:39:11 -050034}
35
Brad Bishop03476f12016-12-19 13:09:12 -050036// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4