Jazz2::Editor::JobProgress class

How far work done off the user interface is, shared by the work and the window that waits for it.

Constructors, destructors, conversion operators

JobProgress()

Public functions

auto Report(float value) -> bool
Sets how far the work is, from 0 to 1, returns false if it should stop.
auto IsCancelled() const -> bool
Returns true if the work should stop.
auto GetValue() const -> float
Returns how far the work is, from 0 to 1.
void Cancel()
Asks the work to stop.