MCPcopy Create free account
hub / github.com/DISTRHO/DPF / fileBrowserGetPath

Function fileBrowserGetPath

distrho/extra/FileBrowserDialogImpl.cpp:872–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870// get path chosen via sofd file dialog
871
872const char* fileBrowserGetPath(const FileBrowserHandle handle)
873{
874 if (const char* const selectedFile = handle->selectedFile)
875 if (selectedFile != kSelectedFileCancelled && std::strcmp(selectedFile, kSelectedFileCancelled) != 0)
876 return selectedFile;
877
878 return nullptr;
879}
880
881// --------------------------------------------------------------------------------------------------------------------
882

Callers 2

idleCallbackMethod · 0.85
fileBrowserCloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected