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 19 of file ClipMenus.cpp.

Member Function Documentation

◆ ComposeTrackName()

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

Definition at line 23 of file ClipMenus.cpp.

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

References _.

Member Data Documentation

◆ trackNum

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

Definition at line 21 of file ClipMenus.cpp.

◆ waveTrack

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

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