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/FOXPlugin.pm

    r18327 r31492  
    3131package FOXPlugin;
    3232
    33 use BasePlugin;
     33use BaseImporter;
    3434use util;
    3535use doc;
     
    4141
    4242sub BEGIN {
    43     @FOXPlugin::ISA = ('BasePlugin');
     43    @FOXPlugin::ISA = ('BaseImporter');
    4444}
    4545
    4646my $arguments =
    4747    [ { 'name' => "process_exp",
    48     'desc' => "{BasePlugin.process_exp}",
     48    'desc' => "{BaseImporter.process_exp}",
    4949    'type' => "regexp",
    5050    'reqd' => "no",
    5151    'deft' => &get_default_process_exp() },
    5252      { 'name' => "block_exp",
    53     'desc' => "{BasePlugin.block_exp}",
     53    'desc' => "{BaseImporter.block_exp}",
    5454    'type' => "regexp",
    5555    'reqd' => "no",
     
    7070    push(@{$hashArgOptLists->{"OptList"}},$options);
    7171
    72     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     72    my $self = new BaseImporter($pluginlist, $inputargs, $hashArgOptLists);
    7373
    7474    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.