source: trunk/lib/AddStats.h @ 745

Last change on this file since 745 was 693, checked in by Jari Häkkinen, 13 years ago

Fixes #339. Change to GPLv3.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#ifndef _theplu_svndigest_add_stats_
2#define _theplu_svndigest_add_stats_
3
4// $Id: AddStats.h 693 2008-09-11 20:42:56Z jari $
5
6/*
7  Copyright (C) 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 "Stats.h"
26
27namespace theplu{
28namespace svndigest{
29
30  ///
31  /// Class taking care of statistics from svn.
32  ///
33  class AddStats : public Stats
34  {
35  public:
36    ///
37    /// @brief Default Constructor
38    ///
39    explicit AddStats(const std::string& path);
40
41    AddStats(const AddStats& other);
42
43  private:
44    void do_parse(const std::string&, svn_revnum_t);
45
46  };
47}} // end of namespace svndigest end of namespace theplu
48
49#endif
Note: See TracBrowser for help on using the repository browser.