File: MessageView.pm

package info (click to toggle)
pronto 2.4.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,112 kB
  • ctags: 487
  • sloc: perl: 22,159; makefile: 127; sh: 34; sql: 7
file content (27 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package HTMLWidget::MessageView;
use strict;

sub new {
  my $class = shift;

  my $self = {};

  return bless $self, $class;
}

sub insert {
  my ($self, $font, undef, undef, $body) = @_;

  $self->{body} = $body;
}

sub draw {
  my $self = shift;

  print $self->{body};
}

sub AUTOLOAD {
}

1;