Audacity 3.2.0
TrackUtilities.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 TrackUtilities.h
6
7 Paul Licameli split from TrackMenus.h
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_TRACK_UTILITIES__
12#define __AUDACITY_TRACK_UTILITIES__
13
14class AudacityProject;
15class Track;
16
17namespace TrackUtilities {
18
21 };
23 AUDACITY_DLL_API void DoMoveTrack(
24 AudacityProject &project, Track &target, MoveChoice choice);
26 AUDACITY_DLL_API
27 void DoTrackMute(AudacityProject &project, Track &track, bool exclusive);
30 AUDACITY_DLL_API
31 void DoTrackSolo(AudacityProject &project, Track &track, bool exclusive);
32 AUDACITY_DLL_API
34 AUDACITY_DLL_API
36
37}
38
39#endif
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110
AUDACITY_DLL_API void DoMoveTrack(AudacityProject &project, Track &target, MoveChoice choice)
Move a track up, down, to top or to bottom.
AUDACITY_DLL_API void DoRemoveTrack(AudacityProject &project, Track &toRemove)
AUDACITY_DLL_API void DoTrackSolo(AudacityProject &project, Track &track, bool exclusive)
AUDACITY_DLL_API void DoTrackMute(AudacityProject &project, Track &track, bool exclusive)
"exclusive" mute means mute the chosen track and unmute all others.
AUDACITY_DLL_API void DoRemoveTracks(AudacityProject &)