blob: 9614f50a55b2e12309bf0a62a42e3d46f06d6c73 [file] [log] [blame]
Adriana Kobylak2d8fa222017-03-15 12:34:32 -05001#include "config.h"
2#include "item_updater.hpp"
3
4namespace openpower
5{
6namespace software
7{
8namespace manager
9{
10
11int ItemUpdater::createActivation(sd_bus_message* msg,
12 void* userData,
13 sd_bus_error* retErr)
14{
15 auto versionId = 1;
16 auto* updater = static_cast<ItemUpdater*>(userData);
17 updater->activations.insert(std::make_pair(
18 versionId,
19 std::make_unique<Activation>(
20 updater->busItem,
21 SOFTWARE_OBJPATH)));
22 return 0;
23}
24
25} // namespace manager
26} // namespace software
27} // namespace openpower
28