Ignore:
Timestamp:
2017-03-13T11:12:37+13:00 (7 years ago)
Author:
kjdon
Message:

renamed EncodingUtil to CommonUtil, BasePlugin to BaseImporter. The idea is that only top level plugins that you can specify in your collection get to have plugin in their name. Modified all other plugins to reflect these name changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/MediainfoOGVPlugin.pm

    r24546 r31492  
    5050package MediainfoOGVPlugin;
    5151
    52 use BasePlugin;
     52use BaseImporter;
    5353
    5454use strict;
     
    5757
    5858sub BEGIN {
    59     @MediainfoOGVPlugin::ISA = ('BasePlugin');
     59    @MediainfoOGVPlugin::ISA = ('BaseImporter');
    6060}
    6161
    6262my $arguments  = 
    6363    [ { 'name' => "process_exp",
    64         'desc' => "{BasePlugin.process_exp}",
     64        'desc' => "{BaseImporter.process_exp}",
    6565        'type' => "regexp",
    6666        'deft' => &get_default_process_exp(),
     
    8888    push(@{$hashArgOptLists->{"OptList"}},$options);
    8989
    90     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     90    my $self = new BaseImporter($pluginlist, $inputargs, $hashArgOptLists);
    9191
    9292    return bless $self, $class;
     
    9797    my ($verbosity, $outhandle, $failhandle) = @_;
    9898
    99     $self->BasePlugin::init($verbosity, $outhandle, $failhandle);   
     99    $self->BaseImporter::init($verbosity, $outhandle, $failhandle);   
    100100
    101101    # Check that Mediainfo is installed and available on the path (except for Windows 95/98)
Note: See TracChangeset for help on using the changeset viewer.