1 |
// Subversion Client |
2 |
// |
3 |
// Douglas Thrift |
4 |
// |
5 |
// $Id$ |
6 |
|
7 |
#ifndef _Subversion_Client_hpp_ |
8 |
#define _Subversion_Client_hpp_ |
9 |
|
10 |
#include <cxx/platform.hpp> |
11 |
|
12 |
#ifdef MENES_PRAGMA_ONCE |
13 |
#pragma once |
14 |
#endif |
15 |
|
16 |
#include <api/apr/pool.hpp> |
17 |
|
18 |
#include <subversion-1/svn_client.h> |
19 |
#include <subversion-1/svn_props.h> |
20 |
|
21 |
#include "Entry.hpp" |
22 |
#include "Error.hpp" |
23 |
|
24 |
namespace Subversion |
25 |
{ |
26 |
|
27 |
class Client |
28 |
{ |
29 |
mutable api::Apr::Pool pool; |
30 |
::svn_client_ctx_t *context; |
31 |
public: |
32 |
Client(); |
33 |
cse::String GetProperty(const cse::String &property, const cse::String &target) const; |
34 |
_L<Entry> GetEntries(const cse::String &target) const; |
35 |
}; |
36 |
|
37 |
} |
38 |
|
39 |
#endif//_Subversion_Client_hpp_ |