Method

FwupdPluginProgressadd_step

Declaration [src]

void
fu_progress_add_step (
  FuProgress* self,
  FwupdStatus status,
  guint value,
  const gchar* name
)

Description [src]

This sets the step weighting, which you will want to do if one action will take a bigger chunk of time than another.

The progress ID must be set fu_progress_set_id() before this method is used.

Available since:1.8.2

Parameters

status FwupdStatus
 

Status value to use for this phase.

value guint
 

A step weighting variable argument array.

name const gchar*
 

Human readable name to identify the step.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.