24 #ifndef __ProgressBar__ 25 #define __ProgressBar__ 27 #include "IProgressBarManager.h" 28 #include "IProgressBarControlData.h" 32 class IDocWindowProgressBar;
45 virtual bool16
WasCancelled(bool8 setGlobalErrorState = kTrue) = 0;
51 virtual void Abort() = 0;
141 virtual bool16
WasCancelled(bool8 setGlobalErrorState = kTrue);
147 virtual void Abort();
161 IDocWindowProgressBar* fProgressBarImpl;
184 void DoTask(
const PMString& displayText =
"", int32 advanceNtasks = 1);
207 bool8 showCancel = kTrue,
IProgressBarControlData* customProgress = nil, bool32 useTwoBars = kFalse,std::function<
void()> callback=
nullptr);