diff options
Diffstat (limited to 'control/manager.hpp')
-rw-r--r-- | control/manager.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/control/manager.hpp b/control/manager.hpp index 44f445e..7f8baa3 100644 --- a/control/manager.hpp +++ b/control/manager.hpp @@ -4,6 +4,7 @@ #include <vector> #include <sdbusplus/bus.hpp> #include "types.hpp" +#include "zone.hpp" namespace phosphor { @@ -12,6 +13,9 @@ namespace fan namespace control { +using ZoneMap = std::map<unsigned int, + std::unique_ptr<Zone>>; + /** * @class Fan control manager */ @@ -43,6 +47,11 @@ class Manager sdbusplus::bus::bus& _bus; /** + * The fan zones in the system + */ + ZoneMap _zones; + + /** * The fan zone layout for the system. * This is generated data. */ |