diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-06-02 16:29:09 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-06-26 09:19:56 -0500 |
commit | 9e741ed099a77ed2638b852027e751b90f67450d (patch) | |
tree | 30045f61eb643611f58b7337ee96655751414327 /control/types.hpp | |
parent | cec5ab766709af9b713f94576b6f05bf63fc0718 (diff) | |
download | phosphor-fan-presence-9e741ed099a77ed2638b852027e751b90f67450d.tar.gz phosphor-fan-presence-9e741ed099a77ed2638b852027e751b90f67450d.zip |
Properties stored of different types
Allow properties stored for processing events to be of types other than
bool
Change-Id: Ie1dde5aca562c9958bdff6fa3d1b19d3154b2c6d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/types.hpp')
-rw-r--r-- | control/types.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/control/types.hpp b/control/types.hpp index 2b7509c..de56186 100644 --- a/control/types.hpp +++ b/control/types.hpp @@ -28,6 +28,8 @@ constexpr auto conditionPropertyListPos = 1; using Condition = std::tuple<std::string, std::vector<ConditionProperty>>; +using PropertyVariantType = sdbusplus::message::variant<bool, int64_t>; + constexpr auto fanNamePos = 0; constexpr auto sensorListPos = 1; using FanDefinition = std::tuple<std::string, std::vector<std::string>>; |