15de0957cSDeepak Kodihalli #include <sdbusplus/bus.hpp>
25de0957cSDeepak Kodihalli #include <sdbusplus/server/manager.hpp>
35de0957cSDeepak Kodihalli #include "settings_manager.hpp"
45de0957cSDeepak Kodihalli #include "config.h"
55de0957cSDeepak Kodihalli 
65de0957cSDeepak Kodihalli int main(int argc, char *argv[])
75de0957cSDeepak Kodihalli {
85de0957cSDeepak Kodihalli     auto bus = sdbusplus::bus::new_default();
95de0957cSDeepak Kodihalli 
109711211cSDeepak Kodihalli     // Add sdbusplus ObjectManager. The settings objects are spread across
119711211cSDeepak Kodihalli     // the object namespace and are not under a (settings) root. Hence register
129711211cSDeepak Kodihalli     // "/" as the path.
139711211cSDeepak Kodihalli     sdbusplus::server::manager::manager objManager(bus, "/");
14*7a6f2526SDeepak Kodihalli     bus.request_name(SETTINGS_BUSNAME);
155de0957cSDeepak Kodihalli 
165de0957cSDeepak Kodihalli     phosphor::settings::Manager mgr(bus);
175de0957cSDeepak Kodihalli 
185de0957cSDeepak Kodihalli     while(true)
195de0957cSDeepak Kodihalli     {
205de0957cSDeepak Kodihalli         bus.process_discard();
215de0957cSDeepak Kodihalli         bus.wait();
225de0957cSDeepak Kodihalli     }
235de0957cSDeepak Kodihalli 
245de0957cSDeepak Kodihalli     return 0;
255de0957cSDeepak Kodihalli }
26