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