line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ProgressMonitor::SetMessageFlags;
|
2
|
|
|
|
|
|
|
|
3
|
10
|
|
|
10
|
|
52
|
use strict;
|
|
10
|
|
|
|
|
16
|
|
|
10
|
|
|
|
|
306
|
|
4
|
10
|
|
|
10
|
|
51
|
use warnings;
|
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
401
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# This defines the values used to indicate when SetMessage should occur
|
7
|
|
|
|
|
|
|
#
|
8
|
|
|
|
|
|
|
|
9
|
10
|
|
|
10
|
|
47
|
use Exporter qw(import);
|
|
10
|
|
|
|
|
16
|
|
|
10
|
|
|
|
|
1450
|
|
10
|
|
|
|
|
|
|
our @EXPORT = qw(SM_NOW SM_PREPARE SM_BEGIN SM_TICK SM_END);
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# This is the default - 'set the message now'
|
13
|
|
|
|
|
|
|
#
|
14
|
|
|
|
|
|
|
sub SM_NOW () { 0 }
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# Set the message when prepare is called
|
17
|
|
|
|
|
|
|
#
|
18
|
|
|
|
|
|
|
sub SM_PREPARE () { 1 }
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# Set the message when begin is called
|
21
|
|
|
|
|
|
|
#
|
22
|
|
|
|
|
|
|
sub SM_BEGIN () { 2 }
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# Set the message when next tick is called
|
25
|
|
|
|
|
|
|
#
|
26
|
|
|
|
|
|
|
sub SM_TICK () { 3 }
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# Set the message when end is called
|
29
|
|
|
|
|
|
|
#
|
30
|
|
|
|
|
|
|
sub SM_END () { 4 }
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1;
|