The P4::Progress
provides access to progress
indicators from the server. After defining the progress class, call
P4::SetProgress()
with your implementation of
P4::Progress
.
Because
P4Perl
does not provide a template or superclass, you must implement all five of
the following methods: Init()
, Description()
,
Update()
, Total()
, and Done()
,
even if the implementation consists of trivially returning
0
.
None.
Initialize progress indicator.
Description and type of units to be used for progress reporting.
If non-zero, user has requested a cancellation of the operation.
Total number of units expected (if known).
If non-zero, operation has failed.