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

Method MakeCheckFn

libraries/lib-menus/MenuRegistry.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19namespace MenuRegistry {
20auto Options::MakeCheckFn(const wxString key, bool defaultValue ) -> CheckFn
21{
22 return [=](AudacityProject&){ return gPrefs->ReadBool( key, defaultValue ); };
23}
24
25auto Options::MakeCheckFn(const BoolSetting &setting ) -> CheckFn
26{

Callers

nothing calls this directly

Calls 2

ReadBoolMethod · 0.80
GetPathMethod · 0.45

Tested by

no test coverage detected