Ignore:
Timestamp:
2002-11-18T17:43:56+13:00 (22 years ago)
Author:
kjdon
Message:

added John T's changes into CVS - added info to enable retrieval of usage info in xml

File:
1 edited

Legend:

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

    r1424 r3540  
    2828# when an import is done), processing each file it finds
    2929
     30# 12-05-02 Added usage datastructure - John Thompson
     31
    3032package ArcPlug;
    3133
     
    3941}
    4042
     43my $options =
     44{   'name'     => "ArcPlug",
     45    'desc'     => "Plugin which recurses through an archives.inf file (i.e. the file generated in the archives directory when an import is done), processing each file it finds.",
     46    'inherits' => "Yes" };
     47
    4148sub new {
    4249    my ($class) = @_;
    4350    my $self = new BasPlug ("ArcPlug", @_);
     51     
     52    # 14-05-02 To allow for proper inheritance of arguments - John Thompson
     53     my $option_list = $self->{'option_list'};
     54     push( @{$option_list}, $options );
    4455
    4556    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.