diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-04-10 14:15:53 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-04-26 12:48:32 -0500 |
commit | e10416eccd32893b68e7ec5fcaacc6520c014d4a (patch) | |
tree | 8986f5aeb86a1788e37c1022ef75633c43339578 /control/manager.cpp | |
parent | 48087591e350c013cfeb937ba8a87d0989374882 (diff) | |
download | phosphor-fan-presence-e10416eccd32893b68e7ec5fcaacc6520c014d4a.tar.gz phosphor-fan-presence-e10416eccd32893b68e7ec5fcaacc6520c014d4a.zip |
Fan control: Add Manager class and fan data
Create the fan manager class.
Check in the fan zone data as a normal file. In a future commit
this will be generated during the compile. It is required now
for review and so everything compiles.
Change-Id: I5733b81db80c5e072abdbffd42e335fa46c61ef8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'control/manager.cpp')
-rw-r--r-- | control/manager.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/control/manager.cpp b/control/manager.cpp new file mode 100644 index 0000000..5fe0781 --- /dev/null +++ b/control/manager.cpp @@ -0,0 +1,34 @@ +/** + * Copyright © 2017 IBM Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include "manager.hpp" + +namespace phosphor +{ +namespace fan +{ +namespace control +{ + +Manager::Manager(sdbusplus::bus::bus& bus) : + _bus(bus) +{ + //TODO +} + + +} +} +} |