MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / GetResultingFileName

Method GetResultingFileName

ImGuiFileDialog.cpp:2720–2726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2718}
2719
2720std::string IGFD::FileManager::GetResultingFileName(FileDialogInternal& vFileDialogInternal, IGFD_ResultMode vFlag) {
2721 if (!dLGDirectoryMode) { // if not directory mode
2722 const auto& filename = std::string(fileNameBuffer);
2723 return vFileDialogInternal.filterManager.ReplaceExtentionWithCurrentFilterIfNeeded(filename, vFlag);
2724 }
2725 return ""; // directory mode
2726}
2727
2728std::string IGFD::FileManager::GetResultingFilePathName(FileDialogInternal& vFileDialogInternal, IGFD_ResultMode vFlag) {
2729 if (!dLGDirectoryMode) { // if not directory mode

Callers 1

GetCurrentFileNameMethod · 0.80

Tested by

no test coverage detected