__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
# This file was preprocessed, do not edit!
package Debconf::FrontEnd;
use warnings;
use strict;
use Debconf::Gettext;
use Debconf::Priority;
use Debconf::Log ':all';
use base qw(Debconf::Base);
sub init {
my $this=shift;
$this->elements([]);
$this->interactive('');
$this->capb('');
$this->title('');
$this->requested_title('');
$this->info(undef);
$this->need_tty(1);
}
sub elementtype {
my $this=shift;
my $ret;
if (ref $this) {
($ret) = ref($this) =~ m/Debconf::FrontEnd::(.*)/;
}
else {
($ret) = $this =~ m/Debconf::FrontEnd::(.*)/;
}
return $ret;
}
my %nouse;
sub _loadelementclass {
my $this=shift;
my $type=shift;
my $nodebug=shift;
if (! UNIVERSAL::can("Debconf::Element::$type", 'new')) {
return if $nouse{$type};
eval qq{use Debconf::Element::$type};
if ($@ || ! UNIVERSAL::can("Debconf::Element::$type", 'new')) {
warn sprintf(gettext("Unable to load Debconf::Element::%s. Failed because: %s"), $type, $@) if ! $nodebug;
$nouse{$type}=1;
return;
}
}
}
sub makeelement {
my $this=shift;
my $question=shift;
my $nodebug=shift;
my $type=$this->elementtype.'::'.ucfirst($question->type);
$type=~s/::$//; # in case the question has no type..
$this->_loadelementclass($type, $nodebug);
my $element="Debconf::Element::$type"->new(question => $question);
return if ! ref $element;
return $element;
}
sub add {
my $this=shift;
my $element=shift;
foreach (@{$this->elements}) {
return if $element->question == $_->question;
}
$element->frontend($this);
push @{$this->elements}, $element;
}
sub go {
my $this=shift;
$this->backup('');
foreach my $element (@{$this->elements}) {
$element->show;
return if $this->backup && $this->capb_backup;
}
return 1;
}
sub progress_start {
my $this=shift;
my $min=shift;
my $max=shift;
my $question=shift;
my $type = $this->elementtype.'::Progress';
$this->_loadelementclass($type);
my $element="Debconf::Element::$type"->new(question => $question);
unless (ref $element) {
return;
}
$element->frontend($this);
$element->progress_min($min);
$element->progress_max($max);
$element->progress_cur($min);
$element->start;
$this->progress_bar($element);
}
sub progress_set {
my $this=shift;
my $value=shift;
return $this->progress_bar->set($value);
}
sub progress_step {
my $this=shift;
my $inc=shift;
return $this->progress_set($this->progress_bar->progress_cur + $inc);
}
sub progress_info {
my $this=shift;
my $question=shift;
return $this->progress_bar->info($question);
}
sub progress_stop {
my $this=shift;
$this->progress_bar->stop;
$this->progress_bar(undef);
}
sub clear {
my $this=shift;
$this->elements([]);
}
sub default_title {
my $this=shift;
$this->title(sprintf(gettext("Configuring %s"), shift));
$this->requested_title($this->title);
}
sub shutdown {}
1
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Client | Folder | 0755 |
|
|
| DbDriver | Folder | 0755 |
|
|
| Element | Folder | 0755 |
|
|
| Format | Folder | 0755 |
|
|
| FrontEnd | Folder | 0755 |
|
|
| Template | Folder | 0755 |
|
|
| AutoSelect.pm | File | 1.98 KB | 0644 |
|
| Base.pm | File | 510 B | 0644 |
|
| ConfModule.pm | File | 15.35 KB | 0644 |
|
| Config.pm | File | 7.01 KB | 0644 |
|
| Db.pm | File | 1.18 KB | 0644 |
|
| DbDriver.pm | File | 2.35 KB | 0644 |
|
| Element.pm | File | 206 B | 0644 |
|
| Encoding.pm | File | 1.45 KB | 0644 |
|
| Format.pm | File | 144 B | 0644 |
|
| FrontEnd.pm | File | 2.8 KB | 0644 |
|
| Gettext.pm | File | 311 B | 0644 |
|
| Iterator.pm | File | 209 B | 0644 |
|
| Log.pm | File | 926 B | 0644 |
|
| Path.pm | File | 305 B | 0644 |
|
| Priority.pm | File | 676 B | 0644 |
|
| Question.pm | File | 5.72 KB | 0644 |
|
| Template.pm | File | 8.01 KB | 0644 |
|
| TmpFile.pm | File | 388 B | 0644 |
|