1 #pragma once 2 3 #include <xyz/openbmc_project/Time/Synchronization/server.hpp> 4 5 static constexpr auto objpathBmc = "/xyz/openbmc_project/time/bmc"; 6 static constexpr auto busname = "xyz.openbmc_project.Time.Manager"; 7 8 namespace phosphor 9 { 10 namespace time 11 { 12 /** @brief Alias to time sync mode class */ 13 using ModeSetting = 14 sdbusplus::xyz::openbmc_project::Time::server::Synchronization; 15 16 /** @brief Supported time sync modes 17 * NTP Time sourced by Network Time Server 18 * Manual User of the system need to set the time 19 */ 20 using Mode = ModeSetting::Method; 21 } // namespace time 22 } // namespace phosphor 23