| 203 | } |
| 204 | |
| 205 | void Connection::addObjectManager(const ObjectPath& objectPath) |
| 206 | { |
| 207 | auto r = sdbus_->sd_bus_add_object_manager(bus_.get(), nullptr, objectPath.c_str()); |
| 208 | |
| 209 | SDBUS_THROW_ERROR_IF(r < 0, "Failed to add object manager", -r); |
| 210 | } |
| 211 | |
| 212 | Slot Connection::addObjectManager(const ObjectPath& objectPath, return_slot_t) |
| 213 | { |
nothing calls this directly
no test coverage detected