blob: 6ae1885efed1e2d161143f1c5b30cacc0bd49854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#pragma once
#include <string>
namespace hwmon
{
namespace entry
{
static constexpr auto cinput = "input";
static constexpr auto clabel = "label";
static constexpr auto ctarget = "target";
static const std::string input = cinput;
static const std::string label = clabel;
static const std::string target = ctarget;
}
namespace type
{
static constexpr auto cfan = "fan";
static constexpr auto ctemp = "temp";
static constexpr auto cvolt = "in";
static constexpr auto ccurr = "current";
static constexpr auto cenergy = "energy";
static constexpr auto cpower = "power";
static const std::string fan = cfan;
static const std::string temp = ctemp;
static const std::string volt = cvolt;
static const std::string curr = ccurr;
static const std::string energy = cenergy;
static const std::string power = cpower;
}
}
// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|