MCPcopy Create free account
hub / github.com/audacity/audacity / VisitSettings

Method VisitSettings

src/commands/SetTrackInfoCommand.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74template<bool Const>
75bool SetTrackStatusCommand::VisitSettings( SettingsVisitorBase<Const> & S ){
76 S.OptionalN( bHasTrackName ).Define( mTrackName, wxT("Name"), _("Unnamed") );
77 // There is also a select command. This is an alternative.
78 S.OptionalN( bHasSelected ).Define( bSelected, wxT("Selected"), false );
79 S.OptionalN( bHasFocused ).Define( bFocused, wxT("Focused"), false );
80 return true;
81};
82
83bool SetTrackStatusCommand::VisitSettings( SettingsVisitor & S )
84 { return VisitSettings<false>(S); }

Callers

nothing calls this directly

Calls 6

DiscoverSubViewTypesFunction · 0.85
OptionalNMethod · 0.80
DefineMethod · 0.45
DefineEnumMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected