1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-29 01:25:53 +01:00

Define new virtual functions Track::GetIntervals (const and non-const)

This commit is contained in:
Paul Licameli
2020-09-09 07:35:58 -04:00
parent c60bf1c994
commit 6510b859f3
8 changed files with 154 additions and 0 deletions

View File

@@ -1224,6 +1224,16 @@ std::shared_ptr<const Track> Track::SubstituteOriginalTrack() const
return SharedPointer();
}
auto Track::GetIntervals() const -> ConstIntervals
{
return {};
}
auto Track::GetIntervals() -> Intervals
{
return {};
}
// Serialize, not with tags of its own, but as attributes within a tag.
void Track::WriteCommonXMLAttributes(
XMLWriter &xmlFile, bool includeNameAndSelected) const
@@ -1269,6 +1279,8 @@ void Track::AdjustPositions()
}
}
TrackIntervalData::~TrackIntervalData() = default;
bool TrackList::HasPendingTracks() const
{
if ( !mPendingUpdates.empty() )