source: trunk/lib/subversion_info.h @ 621

Last change on this file since 621 was 621, checked in by Jari Häkkinen, 13 years ago

Typo

  • 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 621 2008-04-23 09:55:29Z jari $
5
6/*
7  Copyright (C) 2007, 2008 Peter Johansson
8
9  This file is part of svndigest, http://trac.thep.lu.se/svndigest
10
11  svndigest is free software; you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2 of the License, or
14  (at your option) any later version.
15
16  svndigest is distributed in the hope that it will be useful, but
17  WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  General Public License for more details.
20
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24  02111-1307, USA.
25*/
26
27#include <string>
28
29namespace theplu{
30namespace svndigest{
31
32  // These functions are (mis)placed here to reflect compilation time
33  // of subversion_info.cc. Previously, __TIME__ macro was placed in
34  // `bin/Parameter.cc' and since the Parameter is almost independent
35  // of other parts of the package, that compilation time does not
36  // very accurately reflect the building time of the svndigest
37  // binary. subversion_info.cc is at least modified when updating
38  // against repository and therefore these functions will return a
39  // time no earlier than last `svn update'
40  std::string compilation_date(void);
41  std::string compilation_time(void);
42
43  std::string svn_revision(void);
44
45  std::string svn_year(void);
46
47}} // end of namespace svndigest and namespace theplu
48
49#endif
Note: See TracBrowser for help on using the repository browser.