| 73 | |
| 74 | template<bool Const> |
| 75 | bool SetTrackStatusCommand::VisitSettings( SettingsVisitorBase<Const> & S ){ |
| 76 | S.OptionalN( bHasTrackName ).Define( mTrackName, wxT("Name"), _("Unnamed") ); |
| 77 | // There is also a select command. This is an alternative. |
| 78 | S.OptionalN( bHasSelected ).Define( bSelected, wxT("Selected"), false ); |
| 79 | S.OptionalN( bHasFocused ).Define( bFocused, wxT("Focused"), false ); |
| 80 | return true; |
| 81 | }; |
| 82 | |
| 83 | bool SetTrackStatusCommand::VisitSettings( SettingsVisitor & S ) |
| 84 | { return VisitSettings<false>(S); } |
nothing calls this directly
no test coverage detected