xref: /openbmc/bmcweb/redfish-core/include/redfish.hpp (revision d2ec1bd7a0267cfd259615b979a4a2119f09a7d6)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 #pragma once
4 
5 #include "app.hpp"
6 
7 namespace redfish
8 {
9 /*
10  * @brief Top level class installing and providing Redfish services
11  */
12 class 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      */
22     explicit RedfishService(App& app);
23 };
24 
25 } // namespace redfish
26