MCPcopy Create free account
hub / github.com/buggins/coolreader / GetConfigFileName

Function GetConfigFileName

cr3wx/src/cr3.cpp:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396lString16 GetConfigFileName()
397{
398 lString16 cfgdir( wxStandardPaths::Get().GetUserDataDir().c_str() );
399 if ( !wxDirExists( cfgdir.c_str() ) )
400 ::wxMkdir( wxString( cfgdir.c_str() ) );
401 lChar16 slash = detectSlash( cfgdir );
402 cfgdir << slash;
403 return cfgdir + L"cr3.ini";
404}
405
406void cr3Frame::OnUpdateUI( wxUpdateUIEvent& event )
407{

Callers 2

cr3FrameMethod · 0.85
SaveOptionsMethod · 0.85

Calls 2

detectSlashFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected