Audacity  2.2.2
Classes | Enumerations
ProgressDialog.h File Reference
#include "../Audacity.h"
#include "../MemoryX.h"
#include <vector>
#include <wx/defs.h>
#include <wx/evtloop.h>
#include <wx/gauge.h>
#include <wx/stattext.h>
#include <wx/utils.h>
#include "wxPanelWrapper.h"

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

Enumerator
pdlgEmptyFlags 
pdlgHideStopButton 
pdlgHideCancelButton 
pdlgHideElapsedTime 
pdlgConfirmStopCancel 
pdlgDefaultFlags 

Definition at line 41 of file ProgressDialog.h.

enum ProgressResult : unsigned
strong
Enumerator
Cancelled 
Success 
Failed 
Stopped 

Definition at line 33 of file ProgressDialog.h.

33  : unsigned
34 {
35  Cancelled = 0, //<! User says that whatever is happening is undesirable and shouldn't have happened at all
36  Success, //<! User says nothing, everything works fine, continue doing whatever we're doing
37  Failed, //<! Something has gone wrong, we should stop and cancel everything we did
38  Stopped //<! Nothing is wrong, but user says we should stop now and leave things as they are now
39 };