MCPcopy Create free account
hub / github.com/audacity/audacity / OnDropFiles

Method OnDropFiles

src/DropTarget.cpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153#endif
154
155 bool OnDropFiles(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxArrayString& filenames) override
156 {
157 // Experiment shows that this function can be reached while there is no
158 // catch block above in wxWidgets. So stop all exceptions here.
159 return GuardedCall<bool>(
160 [&] { return ProjectFileManager::Get(*mProject).Import(filenames); });
161 }
162
163private:
164 AudacityProject *mProject;

Callers

nothing calls this directly

Calls 2

GetFunction · 0.85
ImportMethod · 0.45

Tested by

no test coverage detected