| 70 | |
| 71 | template<bool Const> |
| 72 | bool SelectTimeCommand::VisitSettings( SettingsVisitorBase<Const> & S ){ |
| 73 | // Allow selection down to -ve 100seconds. |
| 74 | // Typically used to expand/contract selections by a small amount. |
| 75 | S.OptionalY( bHasT0 ).Define( mT0, wxT("Start"), 0.0, -100.0, (double)FLT_MAX); |
| 76 | S.OptionalY( bHasT1 ).Define( mT1, wxT("End"), 0.0, -100.0, (double)FLT_MAX); |
| 77 | S.OptionalN( bHasRelativeSpec ).DefineEnum( mRelativeTo, wxT("RelativeTo"), 0, kRelativeTo, nRelativeTos ); |
| 78 | return true; |
| 79 | } |
| 80 | |
| 81 | bool SelectTimeCommand::VisitSettings( SettingsVisitor & S ) |
| 82 | { return VisitSettings<false>(S); } |
nothing calls this directly
no test coverage detected