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

Function MakeProgress

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

Create and display a progress dialog ! @param flags bitwise OR of values in ProgressDialogOptions @param remainingLabelText if not empty substitutes for "Remaining Time:" @return nullptr if Services not installed */

Source from the content-addressed store, hash-verified

304 @return nullptr if Services not installed
305 */
306inline std::unique_ptr<ProgressDialog> MakeProgress(
307 const TranslatableString & title,
308 const TranslatableString & message,
309 unsigned flags = (ProgressShowStop | ProgressShowCancel),
310 const TranslatableString & remainingLabelText = {})
311{
312 if (auto p = Get())
313 return p->DoMakeProgress(title, message, flags, remainingLabelText);
314 else
315 return nullptr;
316}
317
318//! Create and display a progress dialog (return nullptr if Services not installed)
319/*!

Callers 14

DoEffectMethod · 0.50
MixAndRenderFunction · 0.50
UpdateUIMethod · 0.50
CopyToMethod · 0.50
OnBeginPurgeMethod · 0.50
OnImportProgressMethod · 0.50
RunTempoDetectionFunction · 0.50
EffectPreviewFunction · 0.50
StartDownloadMethod · 0.50
UpdateManager.cppFile · 0.50
OnResampleFunction · 0.50

Calls 2

GetFunction · 0.85
DoMakeProgressMethod · 0.45

Tested by

no test coverage detected