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

Method Write

libraries/lib-preferences/Prefs.cpp:428–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428bool ChoiceSetting::Write( const wxString &value )
429{
430 auto index = Find( value );
431 if (index >= mSymbols.size())
432 return false;
433
434 auto result = gPrefs->Write( mKey, value );
435 mMigrated = true;
436
437 if (mpOtherSettings)
438 mpOtherSettings->Invalidate();
439
440 return result;
441}
442
443void ChoiceSetting::SetDefault( long value )
444{

Callers 4

CopyEntryFunction · 0.45
TestRWFunction · 0.45
TestGroupsFunction · 0.45

Calls 3

FindFunction · 0.85
sizeMethod · 0.45
InvalidateMethod · 0.45

Tested by 2

TestRWFunction · 0.36
TestGroupsFunction · 0.36