<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">################################################################################
#
# parallelbasebuilder.pm -- extends the basebuilder class with functionality
# required to support parallel indexing (namely a placeholder function for the
# generation of indexing 'recipes')
#
# A component of the Greenstone digital library software from the New Zealand
# Digital Library Project at the University of Waikato, New Zealand.
#
# Copyright (C) 1999 New Zealand Digital Library Project
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
###########################################################################

package parallelbasebuilder;

use strict;
use warnings;

use basebuilder;

BEGIN
{
    @parallelbasebuilder::ISA = ('basebuilder');
}

# /** @function new()
#  *  Constructor
#  */
sub new
{
    my $class = shift(@_);
    my $self = new basebuilder(@_);
    return bless($self, $class);
}
# /** new() **/

# /** @function prepareIndexRecipe()
#  * @param $self
#  * @author jmt12
#  */
sub prepareIndexRecipe
{
  my ($self) = @_;
  my $outhandle = $self-&gt;{'outhandle'};
  print $outhandle "WARNING: prepareIndexRecipe() should be implemented in subclass!!";
}
# /** prepareIndexRecipe() **/

1;
</pre></body></html>