blob: bd41b63fd950f4d5adf45db65cc65335cf624734 [file] [log] [blame]
#include <iostream>
#include <cstdlib>
#include <exception>
#include <sdbusplus/bus.hpp>
#include "config.h"
#include "version_software_manager.hpp"
int main(int argc, char* argv[])
{
auto bus = sdbusplus::bus::new_default();
// Add sdbusplus ObjectManager.
sdbusplus::server::manager::manager objManager(bus,
SOFTWARE_OBJPATH);
phosphor::software::manager::Version manager(bus,
SOFTWARE_OBJPATH);
bus.request_name(VERSION_BUSNAME);
while (true)
{
bus.process_discard();
bus.wait();
}
return 0;
}