1 #include <sdbusplus/bus.hpp>
2 #include <sdbusplus/server/manager.hpp>
3 #include "settings_manager.hpp"
4 #include "config.h"
5 
6 int main(int argc, char *argv[])
7 {
8     auto bus = sdbusplus::bus::new_default();
9 
10     // Add sdbusplus ObjectManager. The settings objects are spread across
11     // the object namespace and are not under a (settings) root. Hence register
12     // "/" as the path.
13     sdbusplus::server::manager::manager objManager(bus, "/");
14 
15     phosphor::settings::Manager mgr(bus);
16 
17     bus.request_name(SETTINGS_BUSNAME);
18 
19     while(true)
20     {
21         bus.process_discard();
22         bus.wait();
23     }
24 
25     return 0;
26 }
27