A package to handle status message updates. Automatically handles NaturalDocs::Settings->IsQuiet().
NaturalDocs:: | A package to handle status message updates. |
Variables | |
message | The message to display. |
total | The number of items to work through. |
completed | The number of items completed. |
lastMessageTime | The time the last message was posted. |
Constants | |
TIME_BETWEEN_UPDATES | The number of seconds that should occur between updates. |
Functions | |
Start | Starts the status message. |
CompletedItem | Should be called every time an item is completed. |
The message to display.
my $message
The number of items to work through.
my $total
The number of items completed.
my $completed
The time the last message was posted.
my $lastMessageTime
Starts the status message.
sub Start #( message, total )
Should be called every time an item is completed.
sub CompletedItem
Returns whether the script should be run in quiet mode or not.
sub IsQuiet