source: trunk/lib/subversion_revision.cc @ 1515

Last change on this file since 1515 was 1515, checked in by Peter Johansson, 9 years ago

update copyright years

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1// $Id: subversion_revision.cc 1515 2012-09-26 00:35:10Z peter $
2
3/*
4  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
5  Copyright (C) 2011 Peter Johansson
6
7  This file is part of svndigest, http://dev.thep.lu.se/svndigest
8
9  svndigest is free software; you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 3 of the License, or
12  (at your option) any later version.
13
14  svndigest is distributed in the hope that it will be useful, but
15  WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  General Public License for more details.
18
19  You should have received a copy of the GNU General Public License
20  along with svndigest. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23#include "subversion_revision.h"
24#include "svn_revision.h"
25#include <string>
26
27namespace theplu{
28namespace svndigest{
29
30  std::string compilation_date(void)
31  {
32    return __DATE__;
33  }
34
35
36  std::string compilation_time(void)
37  {
38    return __TIME__;
39  }
40
41
42  std::string svn_revision(void)
43  {
44    return SVN_REVISION;
45  }
46
47}} // end of namespace svndigest and namespace theplu
Note: See TracBrowser for help on using the repository browser.