1 #pragma once
2 
3 #include "config.h"
4 
5 #include "utils.hpp"
6 
7 #include <sdbusplus/bus.hpp>
8 
9 #include <string>
10 
11 namespace settings
12 {
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     phosphor::time::utils::Path timeSyncMethod = DEFAULT_TIME_SYNC_OBJECT_PATH;
37 };
38 
39 } // namespace settings
40