| 141 | } |
| 142 | |
| 143 | SongTime |
| 144 | ParseCommandArgSongTime(const char *s) |
| 145 | { |
| 146 | auto value = ParseCommandArgFloat(s); |
| 147 | if (value < 0) |
| 148 | throw MakeArgError("Negative value not allowed", s); |
| 149 | |
| 150 | return SongTime::FromS(value); |
| 151 | } |
| 152 | |
| 153 | SignedSongTime |
| 154 | ParseCommandArgSignedSongTime(const char *s) |
nothing calls this directly
no test coverage detected