| 111 | } |
| 112 | |
| 113 | bool SurfaceControlMovableInsulation_Impl::setSurface(const Surface& surface) { |
| 114 | boost::optional<SurfaceControlMovableInsulation> currentIns = surface.surfaceControlMovableInsulation(); |
| 115 | if (currentIns) { |
| 116 | if (currentIns->handle() == this->handle()) { |
| 117 | return true; |
| 118 | } |
| 119 | currentIns->remove(); |
| 120 | } |
| 121 | return setPointer(OS_SurfaceControl_MovableInsulationFields::SurfaceName, surface.handle()); |
| 122 | } |
| 123 | |
| 124 | bool SurfaceControlMovableInsulation_Impl::setMaterial(const Material& material) { |
| 125 | return setPointer(OS_SurfaceControl_MovableInsulationFields::MaterialName, material.handle()); |
nothing calls this directly
no test coverage detected