source: ProjectBuilder/devel/pb-modules/lib/ProjectBuilder/Version.pm@ 1528

Last change on this file since 1528 was 1528, checked in by Bruno Cornec, 12 years ago
  • Add Copyrights specified by HP Open Source Review Board (Eric Anderson)
  • Clarification of copyrights, dates and licences (Bruno Cornec)
File size: 751 bytes
RevLine 
[53]1#!/usr/bin/perl -w
2#
3# Declare versions that will be used in pb
4# Those are filtered with pb mecanism
5# and have been isolated here to avoid unrelated effects
6#
[1528]7# Copyright B. Cornec 2007-2012
8# Provided under the GPL v2
9#
[329]10package ProjectBuilder::Version;
11
[74]12use strict;
[53]13
[329]14# Inherit from the "Exporter" module which handles exporting functions.
15
[1156]16use vars qw($VERSION $REVISION @ISA @EXPORT);
[329]17use Exporter;
18
19# Export, by default, all the functions into the namespace of
20# any code which uses this module.
21our @ISA = qw(Exporter);
22our @EXPORT = qw(pb_version_init);
23
[1156]24$VERSION = "PBVER";
25$REVISION = "PBREV";
[1148]26
[74]27sub pb_version_init {
28
[1156]29my $projectbuilderver = $VERSION;
30my $projectbuilderrev = $REVISION;
[74]31
32return($projectbuilderver,$projectbuilderrev);
33}
341;
Note: See TracBrowser for help on using the repository browser.