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