1 | package DC::MessageDistributor; |
1 | package DC::MessageDistributor; |
2 | use strict; |
2 | |
3 | no warnings; |
3 | use common::sense; |
4 | |
4 | |
5 | sub new { |
5 | sub new { |
6 | my $this = shift; |
6 | my $this = shift; |
7 | my $class = ref($this) || $this; |
7 | my $class = ref($this) || $this; |
8 | my $self = { @_ }; |
8 | my $self = { @_ }; |
… | |
… | |
21 | . "the line you entered will be sent to the server as a command.", |
21 | . "the line you entered will be sent to the server as a command.", |
22 | reply => '' |
22 | reply => '' |
23 | } |
23 | } |
24 | ) |
24 | ) |
25 | ); |
25 | ); |
|
|
26 | |
|
|
27 | $self->{dockbar}->select_dockable ($self->{log}); |
26 | |
28 | |
27 | return $self |
29 | return $self |
28 | } |
30 | } |
29 | |
31 | |
30 | # called by MAPWIDGET activate console event |
32 | # called by MAPWIDGET activate console event |