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 |
namespace Subversion |
24 |
{ |
25 |
|
26 |
class Client |
27 |
{ |
28 |
api::Apr::Pool pool; |
29 |
::svn_client_ctx_t *context; |
30 |
public: |
31 |
Client(); |
32 |
cse::String GetProperty(const cse::String &property, const cse::String &target); |
33 |
std::tm GetEntryCommittedDate(const cse::String &target); |
34 |
}; |
35 |
|
36 |
} |
37 |
|
38 |
#endif//_Subversion_Client_hpp_ |