Audacity 3.2.0
Classes | Typedefs | Functions
WaveTrackShifter.cpp File Reference

headerless file injects method definitions for time shifting of WaveTrack More...

#include "../../../ui/TimeShiftHandle.h"
#include "ViewInfo.h"
#include "WaveClip.h"
#include "WaveTrack.h"
#include "WaveChannelView.h"
#include <cassert>
#include <unordered_set>
Include dependency graph for WaveTrackShifter.cpp:

Go to the source code of this file.

Classes

class  WaveTrackShifter
 

Typedefs

using MakeWaveTrackShifter = MakeTrackShifter::Override< WaveTrack >
 

Functions

 DEFINE_ATTACHED_VIRTUAL_OVERRIDE (MakeWaveTrackShifter)
 

Detailed Description

headerless file injects method definitions for time shifting of WaveTrack

Definition in file WaveTrackShifter.cpp.

Typedef Documentation

◆ MakeWaveTrackShifter

Definition at line 201 of file WaveTrackShifter.cpp.

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL_OVERRIDE()

DEFINE_ATTACHED_VIRTUAL_OVERRIDE ( MakeWaveTrackShifter  )

Definition at line 202 of file WaveTrackShifter.cpp.

202 {
203 return [](WaveTrack &track, AudacityProject&) {
204 return std::make_unique<WaveTrackShifter>(track);
205 };
206}
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A Track that contains audio waveform data.
Definition: WaveTrack.h:203