MCPcopy Create free account
hub / github.com/MediaArea/MediaInfo / Load

Method Load

Source/Common/Preferences.cpp:427–436  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

425
426//---------------------------------------------------------------------------
427int Preferences::Load(Prefs_t KindOfList, const ZenLib::Ztring &Name)
428{
429 //Test if the file exists
430 if (!File::Exists(BaseFolder+FolderNames[KindOfList]+__T("\\")+Name+__T(".csv")))
431 return -1;
432
433 Details[KindOfList].Load(BaseFolder+FolderNames[KindOfList]+__T("\\")+Name+__T(".csv"));
434
435 return 1;
436}
437
438//---------------------------------------------------------------------------
439int Preferences::Remove(Prefs_t KindOfList, const ZenLib::Ztring &Name)

Callers 14

Run_FileFunction · 0.80
Language_Others_RunFunction · 0.80
Language_All_RunFunction · 0.80
Config_CreateMethod · 0.80
Config_LoadMethod · 0.80
RefreshFilesListMethod · 0.80
AfficherMethod · 0.80
ComboBox_SelChangeMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
M_LanguageClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected