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

    r24225 r31492  
    3030
    3131
    32 use BasePlugin;
     32use BaseImporter;
    3333use Ogg::Vorbis::Header::PurePerl;
    3434
     
    3838
    3939sub BEGIN {
    40     @OggVorbisPlugin::ISA = ('BasePlugin');
     40    @OggVorbisPlugin::ISA = ('BaseImporter');
    4141}
    4242
     
    4444my $arguments =
    4545    [ { 'name' => "process_exp",
    46     'desc' => "{BasePlugin.process_exp}",
     46    'desc' => "{BaseImporter.process_exp}",
    4747    'type' => "string",
    4848    'deft' => &get_default_process_exp(),
     
    5353    'deft' => "" },
    5454      { 'name' => "file_rename_method",
    55     'desc' => "{BasePlugin.file_rename_method}",
     55    'desc' => "{BaseImporter.file_rename_method}",
    5656    'type' => "enum",
    5757    'deft' => &get_default_file_rename_method(), # by default rename imported files and assoc files using this encoding
    58     'list' => $BasePlugin::file_rename_method_list,
     58    'list' => $BaseImporter::file_rename_method_list,
    5959    'reqd' => "no"
    6060      } ];
     
    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;
Note: See TracChangeset for help on using the changeset viewer.