| #pragma once |
| |
| #include <xyz/openbmc_project/Time/Synchronization/server.hpp> |
| |
| namespace // anonymous |
| { |
| |
| constexpr auto OBJPATH_BMC = "/xyz/openbmc_project/time/bmc"; |
| constexpr auto BUSNAME = "xyz.openbmc_project.Time.Manager"; |
| |
| } // namespace |
| |
| namespace phosphor |
| { |
| namespace time |
| { |
| /** @brief Alias to time sync mode class */ |
| using ModeSetting = |
| sdbusplus::xyz::openbmc_project::Time::server::Synchronization; |
| |
| /** @brief Supported time sync modes |
| * NTP Time sourced by Network Time Server |
| * Manual User of the system need to set the time |
| */ |
| using Mode = ModeSetting::Method; |
| } // namespace time |
| } // namespace phosphor |