Ignore:
Timestamp:
2000-08-21T14:58:48+12:00 (24 years ago)
Author:
davidb
Message:

Rearrangement of ConvertTo inheritence so HTMLPlug and TextPlug do not need
to know anything about the conversion process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/HTMLPlug.pm

    r1431 r1435  
    3838package HTMLPlug;
    3939
    40 use ConvertToBasPlug;
     40use BasPlug;
    4141use ghtml;
    4242use util;
     
    4444
    4545sub BEGIN {
    46     @ISA = ('ConvertToBasPlug');
     46    @ISA = ('BasPlug');
    4747}
    4848
     
    7272sub new {
    7373    my $class = shift (@_);
    74     my $self = new ConvertToBasPlug ($class, @_);
     74    my $self = new BasPlug ($class, @_);
    7575
    7676    if (!parsargv::parse(\@_,
     
    9393    $self->{'dir_num'} = 0;
    9494    $self->{'file_num'} = 0;
    95 
    96     $self->{'convert_to'} = "HTML";
    97     $self->{'convert_to_ext'} = "html";
    9895
    9996    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.