Audacity  3.0.3
Classes | Enumerations
ProgressDialog.h File Reference
#include <vector>
#include <wx/defs.h>
#include <wx/evtloop.h>
#include "wxPanelWrapper.h"
Include dependency graph for ProgressDialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ProgressDialog
 ProgressDialog Class. More...
 
class  TimerProgressDialog
 

Enumerations

enum  ProgressResult : unsigned { ProgressResult::Cancelled = 0, ProgressResult::Success, ProgressResult::Failed, ProgressResult::Stopped }
 
enum  ProgressDialogFlags {
  pdlgEmptyFlags = 0x00000000, pdlgHideStopButton = 0x00000001, pdlgHideCancelButton = 0x00000002, pdlgHideElapsedTime = 0x00000004,
  pdlgConfirmStopCancel = 0x00000008, pdlgDefaultFlags = pdlgEmptyFlags
}
 

Enumeration Type Documentation

◆ ProgressDialogFlags

Enumerator
pdlgEmptyFlags 
pdlgHideStopButton 
pdlgHideCancelButton 
pdlgHideElapsedTime 
pdlgConfirmStopCancel 
pdlgDefaultFlags 

Definition at line 40 of file ProgressDialog.h.

41 {
42  pdlgEmptyFlags = 0x00000000,
43  pdlgHideStopButton = 0x00000001,
44  pdlgHideCancelButton = 0x00000002,
45  pdlgHideElapsedTime = 0x00000004,
46  pdlgConfirmStopCancel = 0x00000008,
47 
49 };

◆ ProgressResult

enum ProgressResult : unsigned
strong
Enumerator
Cancelled 
Success 
Failed 
Stopped 

Definition at line 32 of file ProgressDialog.h.

33 {
34  Cancelled = 0, //<! User says that whatever is happening is undesirable and shouldn't have happened at all
35  Success, //<! User says nothing, everything works fine, continue doing whatever we're doing
36  Failed, //<! Something has gone wrong, we should stop and cancel everything we did
37  Stopped //<! Nothing is wrong, but user says we should stop now and leave things as they are now
38 };
pdlgHideStopButton
@ pdlgHideStopButton
Definition: ProgressDialog.h:43
RefreshCode::Cancelled
@ Cancelled
Definition: RefreshCode.h:23
pdlgHideElapsedTime
@ pdlgHideElapsedTime
Definition: ProgressDialog.h:45
ProgressResult::Failed
@ Failed
ProgressResult::Success
@ Success
pdlgDefaultFlags
@ pdlgDefaultFlags
Definition: ProgressDialog.h:48
pdlgConfirmStopCancel
@ pdlgConfirmStopCancel
Definition: ProgressDialog.h:46
ProgressResult::Stopped
@ Stopped
pdlgEmptyFlags
@ pdlgEmptyFlags
Definition: ProgressDialog.h:42
pdlgHideCancelButton
@ pdlgHideCancelButton
Definition: ProgressDialog.h:44