pub type OrthancPluginJobGetProgress = Option<unsafe extern "C" fn(job: *mut c_void) -> f32>;
Expand description
@brief Callback to check the progress of one custom job.
Signature of a callback function that returns the progress of the job.
@param job The job of interest. @return The progress, as a floating-point number ranging from 0 to 1. @ingroup Toolbox
Aliased Type§
pub enum OrthancPluginJobGetProgress {
None,
Some(unsafe extern "C" fn(*mut c_void) -> f32),
}