564 |
07 Mar 08 |
peter |
1 |
#ifndef _theplu_svndigest_subversion_info_ |
564 |
07 Mar 08 |
peter |
2 |
#define _theplu_svndigest_subversion_info_ |
540 |
29 Dec 07 |
peter |
3 |
|
569 |
13 Mar 08 |
peter |
// $Id$ |
569 |
13 Mar 08 |
peter |
5 |
|
540 |
29 Dec 07 |
peter |
6 |
/* |
847 |
17 Nov 09 |
peter |
Copyright (C) 2007 Peter Johansson |
978 |
12 Dec 09 |
peter |
Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
540 |
29 Dec 07 |
peter |
9 |
|
687 |
04 Aug 08 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
540 |
29 Dec 07 |
peter |
11 |
|
540 |
29 Dec 07 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
540 |
29 Dec 07 |
peter |
under the terms of the GNU General Public License as published by |
693 |
11 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
540 |
29 Dec 07 |
peter |
(at your option) any later version. |
540 |
29 Dec 07 |
peter |
16 |
|
540 |
29 Dec 07 |
peter |
svndigest is distributed in the hope that it will be useful, but |
540 |
29 Dec 07 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
540 |
29 Dec 07 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
540 |
29 Dec 07 |
peter |
General Public License for more details. |
540 |
29 Dec 07 |
peter |
21 |
|
540 |
29 Dec 07 |
peter |
You should have received a copy of the GNU General Public License |
693 |
11 Sep 08 |
jari |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
540 |
29 Dec 07 |
peter |
24 |
*/ |
540 |
29 Dec 07 |
peter |
25 |
|
540 |
29 Dec 07 |
peter |
26 |
#include <string> |
540 |
29 Dec 07 |
peter |
27 |
|
540 |
29 Dec 07 |
peter |
28 |
namespace theplu{ |
540 |
29 Dec 07 |
peter |
29 |
namespace svndigest{ |
540 |
29 Dec 07 |
peter |
30 |
|
621 |
23 Apr 08 |
jari |
// These functions are (mis)placed here to reflect compilation time |
620 |
23 Apr 08 |
peter |
// of subversion_info.cc. Previously, __TIME__ macro was placed in |
620 |
23 Apr 08 |
peter |
// `bin/Parameter.cc' and since the Parameter is almost independent |
620 |
23 Apr 08 |
peter |
// of other parts of the package, that compilation time does not |
620 |
23 Apr 08 |
peter |
// very accurately reflect the building time of the svndigest |
620 |
23 Apr 08 |
peter |
// binary. subversion_info.cc is at least modified when updating |
620 |
23 Apr 08 |
peter |
// against repository and therefore these functions will return a |
620 |
23 Apr 08 |
peter |
// time no earlier than last `svn update' |
620 |
23 Apr 08 |
peter |
39 |
std::string compilation_date(void); |
620 |
23 Apr 08 |
peter |
40 |
std::string compilation_time(void); |
620 |
23 Apr 08 |
peter |
41 |
|
569 |
13 Mar 08 |
peter |
42 |
std::string svn_revision(void); |
540 |
29 Dec 07 |
peter |
43 |
|
540 |
29 Dec 07 |
peter |
44 |
}} // end of namespace svndigest and namespace theplu |
540 |
29 Dec 07 |
peter |
45 |
|
1513 |
23 Sep 12 |
peter |
46 |
#endif |