1 | #ifndef _theplu_svndigest_first_page_ |
---|
2 | #define _theplu_svndigest_first_page_ |
---|
3 | |
---|
4 | // $Id: first_page.h 768 2009-01-31 21:30:37Z peter $ |
---|
5 | |
---|
6 | /* |
---|
7 | Copyright (C) 2006, 2007, 2008 Peter Johansson |
---|
8 | |
---|
9 | This file is part of svndigest, http://dev.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 3 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 svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
23 | */ |
---|
24 | |
---|
25 | #include <iosfwd> |
---|
26 | #include <string> |
---|
27 | #include <vector> |
---|
28 | |
---|
29 | namespace theplu{ |
---|
30 | namespace svndigest{ |
---|
31 | |
---|
32 | class Commitment; |
---|
33 | class Stats; |
---|
34 | class StatsCollection; |
---|
35 | class SVNlog; |
---|
36 | |
---|
37 | void print_authors(std::ostream& os, |
---|
38 | const std::vector<Commitment>& latest_commit, |
---|
39 | const Stats& stats); |
---|
40 | |
---|
41 | /// |
---|
42 | /// called by print_main_page |
---|
43 | /// |
---|
44 | void print_general_information(std::ostream&, const SVNlog&, size_t, |
---|
45 | std::string url); |
---|
46 | |
---|
47 | /// |
---|
48 | /// @brief print main page |
---|
49 | /// |
---|
50 | void print_main_page(const std::string&, const SVNlog&, |
---|
51 | const StatsCollection&, std::string url); |
---|
52 | |
---|
53 | void print_recent_logs(std::ostream&, const SVNlog& log, |
---|
54 | const StatsCollection&); |
---|
55 | |
---|
56 | void print_summary_plot(std::ostream&, const Stats& stats); |
---|
57 | |
---|
58 | }} // end of namespace svndigest end of namespace theplu |
---|
59 | |
---|
60 | #endif |
---|