ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Subversion/Client.hpp
Revision: 712
Committed: 2006-03-25T23:27:01-08:00 (19 years, 2 months ago) by douglas
File size: 760 byte(s)
Log Message:
This seemed like a useful addition, at least for use with Subversion APIs.

File Contents

# Content
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 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 inline void Update(const cse::String &path) { Update(_L<cse::String>(1, path)); }
36 void Update(const _L<cse::String> &paths);
37 };
38
39 }
40
41 #endif//_Subversion_Client_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id