12#ifndef __AUDACITY_WAVE_TRACK_LOCATION__
13#define __AUDACITY_WAVE_TRACK_LOCATION__
29 int clipidx1_ = -1,
int clipidx2_ = -1)
75 const std::vector<Location> &
Get()
const
76 {
return mDisplayLocationsCache; }
Utility ClientData::Site to register hooks into a host class that attach client data.
bool operator==(const WaveTrackLocation &a, const WaveTrackLocation &b)
bool operator!=(const WaveTrackLocation &a, const WaveTrackLocation &b)
A Track that contains audio waveform data.
const std::vector< Location > & Get() const
~WaveTrackLocations() override
std::vector< Location > mDisplayLocationsCache
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
A convenient base class defining abstract virtual Clone() for a given kind of pointer.
virtual PointerType Clone() const =0
ClientData::UniquePtr< Base > PointerType
WaveTrackLocation(double pos_=0.0, LocationType typ_=locationCutLine, int clipidx1_=-1, int clipidx2_=-1)