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