Ignore:
Timestamp:
2008-08-11T14:06:47+12:00 (16 years ago)
Author:
kjdon
Message:

added auxiliary parameter to new - needed if you want to do new without parsing the arguments - ie want to inherit from a plugin to get the methods and arguments, but its not in the direct inheritance line

File:
1 edited

Legend:

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

    r16644 r16698  
    6666    # Start the AutoExtractMetadata Constructor
    6767    my $class = shift (@_);
    68     my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     68    my ($pluginlist,$inputargs,$hashArgOptLists,$auxiliary) = @_;
    6969    push(@$pluginlist, $class);
    7070   
     
    7979    new GISExtractor($pluginlist, $inputargs, $hashArgOptLists);
    8080    new CJKTextSegmenter($pluginlist, $inputargs, $hashArgOptLists);
    81     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     81    my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists,$auxiliary);
    8282
    8383    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.