blob: 2202df08cf854082ef6691ab232ab327339d0e27 [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";
11
12static const std::string input = cinput;
13static const std::string label = clabel;
Brad Bishop6bb97a92016-12-19 13:06:40 -050014}
Patrick Williams3667cf32015-10-20 22:39:11 -050015
Brad Bishop6bb97a92016-12-19 13:06:40 -050016namespace type
17{
Brad Bishop0fcb8b32017-01-04 21:55:04 -050018static constexpr auto cfan = "fan";
19static constexpr auto ctemp = "temp";
20static constexpr auto cvolt = "in";
Brad Bishop5afe21a2017-01-06 20:44:05 -050021static constexpr auto ccurr = "current";
22static constexpr auto cenergy = "energy";
23static constexpr auto cpower = "power";
Brad Bishop0fcb8b32017-01-04 21:55:04 -050024
25static const std::string fan = cfan;
26static const std::string temp = ctemp;
27static const std::string volt = cvolt;
Brad Bishop5afe21a2017-01-06 20:44:05 -050028static const std::string curr = ccurr;
29static const std::string energy = cenergy;
30static const std::string power = cpower;
Brad Bishop6bb97a92016-12-19 13:06:40 -050031}
Patrick Williams3667cf32015-10-20 22:39:11 -050032}
33
Brad Bishop03476f12016-12-19 13:09:12 -050034// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4