~ubuntu-branches/debian/wheezy/gource/wheezy

« back to all changes in this revision

Viewing changes to src/formats/cvs2cl.h

  • Committer: Package Import Robot
  • Author(s): Andrew Caudwell
  • Date: 2012-04-24 11:25:45 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120424112545-18fbnycu9xrsl4s5
Tags: 0.38-1
* New upstream release (closes: #667189)
* New build dependencies on libglm-dev and libboost-filesystem-dev. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
 
3
 
 
4
    This program is free software; you can redistribute it and/or
 
5
    modify it under the terms of the GNU General Public License
 
6
    as published by the Free Software Foundation; either version
 
7
    3 of the License, or (at your option) any later version.
 
8
 
 
9
    This program is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
    GNU General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU General Public License
 
15
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
*/
 
17
 
 
18
#ifndef CVS2CL_H
 
19
#define CVS2CL_H
 
20
 
 
21
#include "../gource_settings.h"
 
22
#include "commitlog.h"
 
23
 
 
24
#include <sstream>
 
25
 
 
26
#ifdef HAVE_LIBTINYXML
 
27
#include <tinyxml.h>
 
28
#else
 
29
#include "../tinyxml/tinyxml.h"
 
30
#endif
 
31
 
 
32
 
 
33
#include <unistd.h>
 
34
 
 
35
extern std::string gGourceCVS2CLLogCommand;
 
36
 
 
37
class CVS2CLCommitLog : public RCommitLog {
 
38
protected:
 
39
    bool parseCommit(RCommit& commit);
 
40
 
 
41
    std::string logentry;
 
42
public:
 
43
    CVS2CLCommitLog(const std::string& logfile);
 
44
};
 
45
 
 
46
#endif