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

Function MakeGenericProgress

libraries/lib-basic-ui/BasicUI.h:324–332  ·  view source on GitHub ↗

Create and display a progress dialog (return nullptr if Services not installed) ! This function makes a "generic" progress dialog, for the case when time to completion cannot be estimated, but some indication of progress is still given */

Source from the content-addressed store, hash-verified

322 given
323 */
324inline std::unique_ptr<GenericProgressDialog> MakeGenericProgress(
325 const WindowPlacement &placement,
326 const TranslatableString &title, const TranslatableString &message, int style = (ProgressAppModal | ProgressShowElapsedTime | ProgressSmooth))
327{
328 if (auto p = Get())
329 return p->DoMakeGenericProgress(placement, title, message, style);
330 else
331 return nullptr;
332}
333
334/*!
335 * @brief Helper for the update of a task's progress bar when this task is made

Callers 7

ImportMethod · 0.85
RenameOrWarnMethod · 0.85
SaveProjectMethod · 0.85
CloseMethod · 0.85
RefreshMethod · 0.85
RefreshMethod · 0.85
GenerateFunction · 0.85

Calls 2

GetFunction · 0.85
DoMakeGenericProgressMethod · 0.45

Tested by

no test coverage detected