source: trunk/lib/subversion_info.h @ 847

Last change on this file since 847 was 847, checked in by Peter Johansson, 12 years ago

updating copyrights

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1#ifndef _theplu_svndigest_subversion_info_
2#define _theplu_svndigest_subversion_info_
3
4// $Id: subversion_info.h 847 2009-11-17 01:38:52Z peter $
5
6/*
7  Copyright (C) 2007 Peter Johansson
8  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
9
10  This file is part of svndigest, http://dev.thep.lu.se/svndigest
11
12  svndigest is free software; you can redistribute it and/or modify it
13  under the terms of the GNU General Public License as published by
14  the Free Software Foundation; either version 3 of the License, or
15  (at your option) any later version.
16
17  svndigest is distributed in the hope that it will be useful, but
18  WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  General Public License for more details.
21
22  You should have received a copy of the GNU General Public License
23  along with svndigest. If not, see <http://www.gnu.org/licenses/>.
24*/
25
26#include <string>
27
28namespace theplu{
29namespace svndigest{
30
31  // These functions are (mis)placed here to reflect compilation time
32  // of subversion_info.cc. Previously, __TIME__ macro was placed in
33  // `bin/Parameter.cc' and since the Parameter is almost independent
34  // of other parts of the package, that compilation time does not
35  // very accurately reflect the building time of the svndigest
36  // binary. subversion_info.cc is at least modified when updating
37  // against repository and therefore these functions will return a
38  // time no earlier than last `svn update'
39  std::string compilation_date(void);
40  std::string compilation_time(void);
41
42  std::string svn_revision(void);
43
44}} // end of namespace svndigest and namespace theplu
45
46#endif
Note: See TracBrowser for help on using the repository browser.