blob: b7e18bfff392016db62d31640a697c49b859c1c9 [file] [log] [blame]
#pragma once
#include "utils.hpp"
#include <sdbusplus/bus.hpp>
#include <string>
namespace settings
{
using namespace phosphor::time::utils;
constexpr auto root = "/";
constexpr auto timeSyncIntf = "xyz.openbmc_project.Time.Synchronization";
/** @class Objects
* @brief Fetch paths of settings D-bus objects of interest upon construction
*/
struct Objects
{
public:
/** @brief Constructor - fetch settings objects
*
* @param[in] bus - The D-bus bus object
*/
explicit Objects(sdbusplus::bus_t& /*bus*/);
Objects() = delete;
Objects(const Objects&) = delete;
Objects& operator=(const Objects&) = delete;
Objects(Objects&&) = default;
Objects& operator=(Objects&&) = delete;
~Objects() = default;
/** @brief time sync method settings object */
Path timeSyncMethod;
};
} // namespace settings