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:
@@ -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() )
|
||||
|
||||
Reference in New Issue
Block a user