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 <ctime> |
19 |
|
20 |
#include <subversion-1/svn_client.h> |
21 |
#include <subversion-1/svn_props.h> |
22 |
|
23 |
#include "Error.hpp" |
24 |
|
25 |
namespace Subversion |
26 |
{ |
27 |
|
28 |
class Client |
29 |
{ |
30 |
api::Apr::Pool pool; |
31 |
::svn_client_ctx_t *context; |
32 |
public: |
33 |
Client(); |
34 |
cse::String GetProperty(const cse::String &property, const cse::String &target); |
35 |
std::time_t GetEntryCommittedDate(const cse::String &target); |
36 |
}; |
37 |
|
38 |
} |
39 |
|
40 |
#endif//_Subversion_Client_hpp_ |