| 1 |
#!/usr/bin/perl |
| 2 |
|
| 3 |
=head1 NAME |
| 4 |
|
| 5 |
Debconf::Element::Web::Progress - dummy progress Element |
| 6 |
|
| 7 |
=cut |
| 8 |
|
| 9 |
package Debconf::Element::Web::Progress; |
| 10 |
use warnings; |
| 11 |
use strict; |
| 12 |
use base qw(Debconf::Element); |
| 13 |
|
| 14 |
=head1 DESCRIPTION |
| 15 |
|
| 16 |
This element does nothing. The user gets to wait. :-) |
| 17 |
|
| 18 |
It might be a good idea to produce some kind of "Please wait" web page, |
| 19 |
since progress bars are usually created exactly when the process is going to |
| 20 |
take a long time. |
| 21 |
|
| 22 |
=cut |
| 23 |
|
| 24 |
sub start { |
| 25 |
} |
| 26 |
|
| 27 |
sub set { |
| 28 |
return 1; |
| 29 |
} |
| 30 |
|
| 31 |
sub info { |
| 32 |
return 1; |
| 33 |
} |
| 34 |
|
| 35 |
sub stop { |
| 36 |
} |
| 37 |
|
| 38 |
1; |