mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
More pure virtuals in Track, supply Note and Time overrides
This commit is contained in:
@@ -34,11 +34,20 @@ class TimeTrack final : public Track {
|
||||
* Envelope:: and Ruler:: members in order to copy one to the other - unfortunately both lack a
|
||||
* copy-constructor to encapsulate this.
|
||||
* @param orig The original track to copy from
|
||||
* @param pT0 if not null, then the start of the sub-range to copy
|
||||
* @param pT1 if not null, then the end of the sub-range to copy
|
||||
*/
|
||||
TimeTrack(const TimeTrack &orig);
|
||||
TimeTrack(const TimeTrack &orig, double *pT0 = nullptr, double *pT1 = nullptr);
|
||||
|
||||
virtual ~TimeTrack();
|
||||
|
||||
Holder Cut( double t0, double t1 ) override;
|
||||
Holder Copy( double t0, double t1, bool forClipboard ) const override;
|
||||
bool Clear(double t0, double t1) override;
|
||||
bool Paste(double t, const Track * src) override;
|
||||
bool Silence(double t0, double t1) override;
|
||||
bool InsertSilence(double t, double len) override;
|
||||
|
||||
// Identifying the type of track
|
||||
int GetKind() const override { return Time; }
|
||||
|
||||
|
Reference in New Issue
Block a user