source: trunk/lib/subversion_info.cc.in @ 726

Last change on this file since 726 was 726, checked in by Peter Johansson, 14 years ago

refs #362

lifting out copyright year to its own file. The source file
lib/copyright_year.cc is automatically updated when being in svn wc
(i.e. not dist or svn export).

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