blob: 7871a5d677e1a69fd806572403c1fcfdfafbb070 [file] [log] [blame]
Lei YU415b9642017-02-09 11:37:26 +08001#pragma once
2
Lei YUad143542017-07-25 14:27:07 +08003#include <xyz/openbmc_project/Time/Synchronization/server.hpp>
4
Pavithra Barithaya864e1732023-04-11 04:30:23 -05005static constexpr auto objpathBmc = "/xyz/openbmc_project/time/bmc";
6static constexpr auto busname = "xyz.openbmc_project.Time.Manager";
Ratan Guptaf901e9c2021-02-03 09:04:59 +05307
Lei YU415b9642017-02-09 11:37:26 +08008namespace phosphor
9{
10namespace time
11{
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050012/** @brief Alias to time sync mode class */
13using ModeSetting =
14 sdbusplus::xyz::openbmc_project::Time::server::Synchronization;
Lei YU415b9642017-02-09 11:37:26 +080015
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050016/** @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 */
20using Mode = ModeSetting::Method;
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050021} // namespace time
22} // namespace phosphor