1168 |
15 Aug 10 |
peter |
1 |
#ifndef _theplu_svndigest_svndiff_ |
1168 |
15 Aug 10 |
peter |
2 |
#define _theplu_svndigest_svndiff_ |
1168 |
15 Aug 10 |
peter |
3 |
|
1168 |
15 Aug 10 |
peter |
// $Id$ |
1168 |
15 Aug 10 |
peter |
5 |
|
1168 |
15 Aug 10 |
peter |
6 |
/* |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2010, 2012 Peter Johansson |
1168 |
15 Aug 10 |
peter |
8 |
|
1168 |
15 Aug 10 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
1168 |
15 Aug 10 |
peter |
10 |
|
1168 |
15 Aug 10 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
1168 |
15 Aug 10 |
peter |
under the terms of the GNU General Public License as published by |
1168 |
15 Aug 10 |
peter |
the Free Software Foundation; either version 3 of the License, or |
1168 |
15 Aug 10 |
peter |
(at your option) any later version. |
1168 |
15 Aug 10 |
peter |
15 |
|
1168 |
15 Aug 10 |
peter |
svndigest is distributed in the hope that it will be useful, but |
1168 |
15 Aug 10 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
1168 |
15 Aug 10 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1168 |
15 Aug 10 |
peter |
General Public License for more details. |
1168 |
15 Aug 10 |
peter |
20 |
|
1168 |
15 Aug 10 |
peter |
You should have received a copy of the GNU General Public License |
1168 |
15 Aug 10 |
peter |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
1168 |
15 Aug 10 |
peter |
23 |
*/ |
1168 |
15 Aug 10 |
peter |
24 |
|
1168 |
15 Aug 10 |
peter |
25 |
#include <string> |
1168 |
15 Aug 10 |
peter |
26 |
#include <vector> |
1168 |
15 Aug 10 |
peter |
27 |
|
1168 |
15 Aug 10 |
peter |
28 |
#include <subversion-1/svn_client.h> |
1168 |
15 Aug 10 |
peter |
29 |
|
1168 |
15 Aug 10 |
peter |
30 |
namespace theplu { |
1168 |
15 Aug 10 |
peter |
31 |
namespace svndigest { |
1168 |
15 Aug 10 |
peter |
32 |
|
1168 |
15 Aug 10 |
peter |
33 |
/** |
1541 |
10 Oct 12 |
peter |
Class to access content of a file at a specifici revision |
1168 |
15 Aug 10 |
peter |
35 |
*/ |
1541 |
10 Oct 12 |
peter |
36 |
class SVNcat |
1541 |
10 Oct 12 |
peter |
37 |
{ |
1168 |
15 Aug 10 |
peter |
38 |
public: |
1541 |
10 Oct 12 |
peter |
39 |
SVNcat(const std::string& path1, svn_revnum_t revision1); |
1168 |
15 Aug 10 |
peter |
40 |
|
1541 |
10 Oct 12 |
peter |
41 |
/** |
1541 |
10 Oct 12 |
peter |
\brief access string content of file |
1541 |
10 Oct 12 |
peter |
43 |
*/ |
1542 |
11 Oct 12 |
peter |
44 |
const std::string& str(void) const; |
1541 |
10 Oct 12 |
peter |
45 |
|
1168 |
15 Aug 10 |
peter |
46 |
private: |
1541 |
10 Oct 12 |
peter |
47 |
std::string str_; |
1168 |
15 Aug 10 |
peter |
48 |
|
1541 |
10 Oct 12 |
peter |
// user compiler generated copy |
1541 |
10 Oct 12 |
peter |
//SVNcat(const SVNcat&); |
1541 |
10 Oct 12 |
peter |
//SVNcat& operator=(const SVNcat&); |
1168 |
15 Aug 10 |
peter |
52 |
}; |
1168 |
15 Aug 10 |
peter |
53 |
|
1168 |
15 Aug 10 |
peter |
54 |
}} // end of namespace svndigest and namespace theplu |
1168 |
15 Aug 10 |
peter |
55 |
|
1168 |
15 Aug 10 |
peter |
56 |
#endif |