| 13 | } |
| 14 | |
| 15 | void ContainerView::addChildView(const std::shared_ptr<View> &childView) |
| 16 | { |
| 17 | if (auto containerCore = core<ContainerView::Core>()) { |
| 18 | containerCore->addChildView(childView); |
| 19 | View::setParentViewOfView(childView, shared_from_this()); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | void ContainerView::removeChildView(const std::shared_ptr<View> &childView) |
| 24 | { |
no outgoing calls