blob: 5a4744c2e042969d1c8bed9fa24deac1b7481060 [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";
Matt Spinler0a8de642017-05-11 10:59:39 -050012static constexpr auto cenable = "enable";
Brad Bishop0fcb8b32017-01-04 21:55:04 -050013
14static const std::string input = cinput;
15static const std::string label = clabel;
Matthew Barthbf7b7b12017-03-07 15:46:59 -060016static const std::string target = ctarget;
Matt Spinler0a8de642017-05-11 10:59:39 -050017static const std::string enable = cenable;
18}
19
Brad Bishop6bb97a92016-12-19 13:06:40 -050020namespace type
21{
Brad Bishop0fcb8b32017-01-04 21:55:04 -050022static constexpr auto cfan = "fan";
23static constexpr auto ctemp = "temp";
24static constexpr auto cvolt = "in";
Jaghathiswari Rankappagounder Natarajane49b6a02017-07-27 16:50:05 -070025static constexpr auto ccurr = "curr";
Brad Bishop5afe21a2017-01-06 20:44:05 -050026static constexpr auto cenergy = "energy";
27static constexpr auto cpower = "power";
Matt Spinler0a8de642017-05-11 10:59:39 -050028static constexpr auto cpwm = "pwm";
29
Brad Bishop0fcb8b32017-01-04 21:55:04 -050030
31static const std::string fan = cfan;
32static const std::string temp = ctemp;
33static const std::string volt = cvolt;
Brad Bishop5afe21a2017-01-06 20:44:05 -050034static const std::string curr = ccurr;
35static const std::string energy = cenergy;
36static const std::string power = cpower;
Matt Spinler0a8de642017-05-11 10:59:39 -050037static const std::string pwm = cpwm;
Brad Bishop6bb97a92016-12-19 13:06:40 -050038}
Patrick Williams3667cf32015-10-20 22:39:11 -050039}
40
Brad Bishop03476f12016-12-19 13:09:12 -050041// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4