blob: 3656f8ced7b011e8a135f4ebe998817448a4e639 [file] [log] [blame]
#include "config.h"
#include "download_manager.hpp"
#include <sdbusplus/bus.hpp>
int main()
{
auto bus = sdbusplus::bus::new_default();
// Add sdbusplus ObjectManager.
sdbusplus::server::manager_t objManager(bus, SOFTWARE_OBJPATH);
phosphor::software::manager::Download manager(bus, SOFTWARE_OBJPATH);
bus.request_name(DOWNLOAD_BUSNAME);
while (true)
{
bus.process_discard();
bus.wait();
}
return 0;
}