return mInstanceId;
}
+int WidgetView::GetPid() const
+{
+ return mPid;
+}
+
const std::string& WidgetView::GetContentInfo()
{
widget_instance_h instance;
return;
}
- auto self = Dali::WidgetView::WidgetView::DownCast(Self());
- auto& selfImpl = Dali::WidgetView::GetImplementation(self);
- const auto& instanceId = selfImpl.GetInstanceId();
- const auto& busName = Bridge::MakeBusNameForWidget(instanceId);
-
- auto address = Bridge::GetCurrentBridge()->EmbedSocket(GetAddress(), {busName, rootPath});
+ auto self = Dali::WidgetView::WidgetView::DownCast(Self());
+ auto& selfImpl = Dali::WidgetView::GetImplementation(self);
+ const auto& instanceId = selfImpl.GetInstanceId();
+ int pid = selfImpl.GetPid();
+ std::string busName = Bridge::MakeBusNameForWidget(instanceId, pid);
+ auto address = Bridge::GetCurrentBridge()->EmbedSocket(GetAddress(), {std::move(busName), rootPath});
mRemoteChild.SetAddress(address);