MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetFileTitle

Method GetFileTitle

Source/FamiTrackerDoc.cpp:451–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451fs::path CFamiTrackerDoc::GetFileTitle() const
452{
453 // Return file name without extension
454 fs::path FileName = static_cast<LPCWSTR>(GetTitle()); // // //
455 FileName.replace_extension();
456
457 if (FileName.extension() == ".bak")
458 FileName.replace_extension();
459 if (FileName.extension() == ".ftm" || FileName.extension() == ".0cc")
460 FileName.replace_extension();
461
462 return FileName;
463}
464
465bool CFamiTrackerDoc::IsFileLoaded() const
466{

Callers 9

OnBnClickedBeginMethod · 0.80
ScanDirectoryMethod · 0.80
OnFileExportTextMethod · 0.80
OnFileExportRowsMethod · 0.80
OnFileExportJsonMethod · 0.80
CreateNSFMethod · 0.80
CreateNSFeMethod · 0.80
CreateNESMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected