blob: 42a89a6505ecfbfa7bdc478ce82f68071035844a [file] [log] [blame]
Matthew Barthd87f89f2020-07-30 10:41:32 -05001/**
2 * Copyright © 2020 IBM Corporation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
Matthew Barth23ac24c2020-08-04 13:55:43 -050018#include "types.hpp"
19
20#include <sdbusplus/bus.hpp>
21
Matthew Barthd87f89f2020-07-30 10:41:32 -050022namespace phosphor::fan::control
Matthew Barth167d2dd2020-08-04 12:19:16 -050023{
24
25constexpr auto confAppName = "control";
26
Matthew Barth23ac24c2020-08-04 13:55:43 -050027/**
28 * @brief Get the configuration definitions for zone groups
29 *
30 * @param[in] bus - The dbus bus object
31 *
32 * @return List of zone group objects
33 * Generated list of zone groups including their control configurations
34 */
35const std::vector<ZoneGroup> getZoneGroups(sdbusplus::bus::bus& bus);
36
Matthew Barth167d2dd2020-08-04 12:19:16 -050037} // namespace phosphor::fan::control