| 3 | namespace sfg { |
| 4 | |
| 5 | Widget::Ptr Bin::GetChild() const { |
| 6 | if( GetChildren().empty() ) { |
| 7 | return Widget::Ptr(); |
| 8 | } |
| 9 | |
| 10 | return *GetChildren().begin(); |
| 11 | } |
| 12 | |
| 13 | bool Bin::HandleAdd( Widget::Ptr child ) { |
| 14 | if( !GetChildren().empty() ) { |
no test coverage detected