source: trunk/lib/first_page.h @ 1303

Last change on this file since 1303 was 1303, checked in by Peter Johansson, 11 years ago

adding missing eol-style property

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1#ifndef _theplu_svndigest_first_page_
2#define _theplu_svndigest_first_page_
3
4// $Id: first_page.h 1303 2010-11-14 23:03:53Z peter $
5
6/*
7  Copyright (C) 2006 Peter Johansson
8  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
9  Copyright (C) 2010 Peter Johansson
10
11  This file is part of svndigest, http://dev.thep.lu.se/svndigest
12
13  svndigest is free software; you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation; either version 3 of the License, or
16  (at your option) any later version.
17
18  svndigest is distributed in the hope that it will be useful, but
19  WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  General Public License for more details.
22
23  You should have received a copy of the GNU General Public License
24  along with svndigest. If not, see <http://www.gnu.org/licenses/>.
25*/
26
27#include <iosfwd>
28#include <string>
29#include <vector>
30
31namespace theplu{
32namespace svndigest{
33
34  class Commitment;
35  class NodeCounter;
36  class Stats;
37  class StatsCollection;
38  class SVNlog;
39
40  void print_authors(std::ostream& os, 
41                     const std::vector<Commitment>& latest_commit,
42                     const Stats& stats);
43
44  ///
45  /// called by print_main_page
46  ///
47  void print_general_information(std::ostream&, const SVNlog&, size_t, 
48                                 std::string url, const NodeCounter&);
49
50  ///
51  /// @brief print main page
52  ///
53  void print_main_page(const std::string&, const SVNlog&, 
54                       const StatsCollection&, std::string url,
55                       const NodeCounter&);
56   
57  void print_recent_logs(std::ostream&, const SVNlog& log,
58                         const StatsCollection&);
59   
60  void print_summary_plot(std::ostream&, const Stats& stats);
61   
62}} // end of namespace svndigest end of namespace theplu
63
64#endif
Note: See TracBrowser for help on using the repository browser.