blob: a9722d024517e47faa2f2f40ddbf33b676dee7dd [file] [log] [blame]
Ed Tanous40e9b922024-09-10 13:50:16 -07001// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright OpenBMC Authors
Borawski.Lukaszb6df6dc2018-01-24 10:20:45 +01003#pragma once
4
Ed Tanous3cd70722024-04-06 09:24:01 -07005#include "app.hpp"
Borawski.Lukaszb6df6dc2018-01-24 10:20:45 +01006
Ed Tanous1abe55e2018-09-05 08:30:59 -07007namespace redfish
8{
Borawski.Lukaszb6df6dc2018-01-24 10:20:45 +01009/*
10 * @brief Top level class installing and providing Redfish services
11 */
Ed Tanous1abe55e2018-09-05 08:30:59 -070012class RedfishService
13{
14 public:
15 /*
16 * @brief Redfish service constructor
17 *
18 * Loads Redfish configuration and installs schema resources
19 *
20 * @param[in] app Crow app on which Redfish will initialize
21 */
Ed Tanous3cd70722024-04-06 09:24:01 -070022 explicit RedfishService(App& app);
Borawski.Lukaszb6df6dc2018-01-24 10:20:45 +010023};
24
Ed Tanous1abe55e2018-09-05 08:30:59 -070025} // namespace redfish