1415b964fSLei YU #pragma once 2415b964fSLei YU 3ad14354fSLei YU #include <xyz/openbmc_project/Time/Synchronization/server.hpp> 4ad14354fSLei YU 5*f90892d4SAmithash Prasasd static constexpr auto objmgrpath = "/xyz/openbmc_project/time"; 6864e173eSPavithra Barithaya static constexpr auto objpathBmc = "/xyz/openbmc_project/time/bmc"; 7864e173eSPavithra Barithaya static constexpr auto busname = "xyz.openbmc_project.Time.Manager"; 8f901e9ceSRatan Gupta 9415b964fSLei YU namespace phosphor 10415b964fSLei YU { 11415b964fSLei YU namespace time 12415b964fSLei YU { 13ad14354fSLei YU /** @brief Alias to time sync mode class */ 14ad14354fSLei YU using ModeSetting = 15ad14354fSLei YU sdbusplus::xyz::openbmc_project::Time::server::Synchronization; 16ad14354fSLei YU 17ad14354fSLei YU /** @brief Supported time sync modes 18415b964fSLei YU * NTP Time sourced by Network Time Server 19ad14354fSLei YU * Manual User of the system need to set the time 20415b964fSLei YU */ 21ad14354fSLei YU using Mode = ModeSetting::Method; 22ab4cc6a5SGunnar Mills } // namespace time 23ab4cc6a5SGunnar Mills } // namespace phosphor 24