summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_stdio.pm
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-01-19 10:44:49 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-01-19 10:44:49 +0000
commit530a16ec071db0e24e6e949e265a96848864967c (patch)
treefe40cacd28d67b98186754c551b7fd339ebc7e17 /perl-install/install/steps_stdio.pm
downloaddrakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.gz
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.bz2
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.tar.xz
drakx-backup-do-not-use-530a16ec071db0e24e6e949e265a96848864967c.zip
add mes5-2.6.33 branch
Diffstat (limited to 'perl-install/install/steps_stdio.pm')
-rw-r--r--perl-install/install/steps_stdio.pm36
1 files changed, 36 insertions, 0 deletions
diff --git a/perl-install/install/steps_stdio.pm b/perl-install/install/steps_stdio.pm
new file mode 100644
index 000000000..0b0850fcb
--- /dev/null
+++ b/perl-install/install/steps_stdio.pm
@@ -0,0 +1,36 @@
+package install::steps_stdio; # $Id: steps_stdio.pm 215411 2007-04-25 12:26:16Z pixel $
+
+use diagnostics;
+use strict;
+use vars qw(@ISA);
+
+@ISA = qw(install::steps_interactive interactive::stdio);
+
+use common;
+use interactive::stdio;
+use install::steps_interactive;
+use lang;
+
+sub new($$) {
+ my ($type, $o) = @_;
+
+ (bless {}, ref($type) || $type)->SUPER::new($o);
+}
+
+sub charsetChanged {
+ my ($o) = @_;
+ lang::load_console_font($o->{locale});
+}
+
+sub enteringStep {
+ my ($o, $step) = @_;
+ print N("Entering step `%s'\n", translate($o->{steps}{$step}{text}));
+ $o->SUPER::enteringStep($step);
+}
+sub leavingStep {
+ my ($o, $step) = @_;
+ $o->SUPER::leavingStep($step);
+ print "--------\n";
+}
+
+1;