1 #pragma once
2 
3 #include "utils.hpp"
4 
5 #include <sdbusplus/bus.hpp>
6 
7 #include <string>
8 
9 namespace settings
10 {
11 
12 using namespace phosphor::time::utils;
13 
14 constexpr auto root = "/";
15 constexpr auto timeSyncIntf = "xyz.openbmc_project.Time.Synchronization";
16 
17 /** @class Objects
18  *  @brief Fetch paths of settings D-bus objects of interest upon construction
19  */
20 struct Objects
21 {
22   public:
23     /** @brief Constructor - fetch settings objects
24      *
25      * @param[in] bus - The D-bus bus object
26      */
27     explicit Objects(sdbusplus::bus_t& /*bus*/);
28     Objects() = delete;
29     Objects(const Objects&) = delete;
30     Objects& operator=(const Objects&) = delete;
31     Objects(Objects&&) = default;
32     Objects& operator=(Objects&&) = delete;
33     ~Objects() = default;
34 
35     /** @brief time sync method settings object */
36     Path timeSyncMethod;
37 };
38 
39 } // namespace settings
40