summaryrefslogtreecommitdiffstats
path: root/hwmon.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2016-10-06 10:15:48 -0500
committerMatthew Barth <msbarth@us.ibm.com>2016-10-13 16:09:09 -0500
commit6292aeed77cb97a069655d80c37d3587d0846bad (patch)
tree79cbaa6fa696f26b79f9ee4615c563d73c0d5f2b /hwmon.hpp
parent1f1b41ed8e1be794e51559abf14db9dad3e2bcdc (diff)
downloadphosphor-hwmon-6292aeed77cb97a069655d80c37d3587d0846bad.tar.gz
phosphor-hwmon-6292aeed77cb97a069655d80c37d3587d0846bad.zip
Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package. Change-Id: Ieed870c63b2bef83b3741dd22e413c25916ed408 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'hwmon.hpp')
-rw-r--r--hwmon.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/hwmon.hpp b/hwmon.hpp
new file mode 100644
index 0000000..494d38e
--- /dev/null
+++ b/hwmon.hpp
@@ -0,0 +1,23 @@
+#ifndef __HWMON_H
+#define __HWMON_H
+
+#include <string>
+
+namespace hwmon
+{
+ using namespace std::literals;
+
+ namespace entry
+ {
+ static const std::string input = "input"s;
+ }
+
+ namespace type
+ {
+ static const std::string fan = "fan"s;
+ static const std::string temp = "temp"s;
+ static const std::string volt = "in"s;
+ }
+}
+
+#endif
OpenPOWER on IntegriCloud