Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{ClipMenus.cpp}::FoundTrack Struct Reference
Inheritance diagram for anonymous_namespace{ClipMenus.cpp}::FoundTrack:
[legend]
Collaboration diagram for anonymous_namespace{ClipMenus.cpp}::FoundTrack:
[legend]

Public Member Functions

wxString ComposeTrackName () const
 

Public Attributes

const WaveTrackwaveTrack {}
 
int trackNum {}
 

Detailed Description

Definition at line 20 of file ClipMenus.cpp.

Member Function Documentation

◆ ComposeTrackName()

wxString anonymous_namespace{ClipMenus.cpp}::FoundTrack::ComposeTrackName ( ) const
inline

Definition at line 24 of file ClipMenus.cpp.

25 {
26 /* i18n-hint: The %d is replaced by the number of the track.*/
27 auto shortName = wxString::Format(_("Track %d"), trackNum)
28 .Append(" " + waveTrack->GetName());
29 return shortName;
30 }
#define _(s)
Definition: Internat.h:73
const wxString & GetName() const
Name is always the same for all channels of a group.
Definition: Track.cpp:64

References _.

Member Data Documentation

◆ trackNum

int anonymous_namespace{ClipMenus.cpp}::FoundTrack::trackNum {}

Definition at line 22 of file ClipMenus.cpp.

◆ waveTrack

const WaveTrack* anonymous_namespace{ClipMenus.cpp}::FoundTrack::waveTrack {}

The documentation for this struct was generated from the following file: