| 1630 | //----------------------------------------------------------------------------- |
| 1631 | |
| 1632 | bool GuiControl::setProfileProt( void *object, const char *index, const char *data ) |
| 1633 | { |
| 1634 | GuiControl* ctrl = static_cast<GuiControl*>( object ); |
| 1635 | GuiControlProfile *prof = dynamic_cast<GuiControlProfile*>( Sim::findObject( data ) ); |
| 1636 | if ( prof == NULL ) |
| 1637 | return false; |
| 1638 | |
| 1639 | // filter through our setter, for consistency |
| 1640 | ctrl->setControlProfile( prof ); |
| 1641 | |
| 1642 | // ask the console not to set the data, because we've already set it |
| 1643 | return false; |
| 1644 | } |
| 1645 | |
| 1646 | //----------------------------------------------------------------------------- |
| 1647 |
nothing calls this directly
no test coverage detected