#!/usr/bin/perl -w
#
# Declare versions that will be used in pb
# Those are filtered with pb mecanism
# and have been isolated here to avoid unrelated effects
#
# Copyright B. Cornec 2007-2016
# Provided under the GPL v2
#
package ProjectBuilder::Version;

use strict;

# Inherit from the "Exporter" module which handles exporting functions.
 
use vars qw($VERSION $REVISION $PBCONFVER @ISA @EXPORT);
use Exporter;
 
# Export, by default, all the functions into the namespace of
# any code which uses this module.
our @ISA = qw(Exporter);
our @EXPORT = qw(pb_version_init);

$VERSION = "PBVER"."PBEXTDIR";
$REVISION = "PBREV";
# We fix the format of the conf file for this version of pb
$PBCONFVER = 1;

sub pb_version_init {

my $projectbuilderver = $VERSION;
my $projectbuilderrev = $REVISION;
my $projectbuilderconfver = $PBCONFVER;

return($projectbuilderver,$projectbuilderrev);
}
1;
