Subversion
svnxx
client
context.hpp
Go to the documentation of this file.
1
/**
2
* @file svnxx/client/context.hpp
3
* @copyright
4
* ====================================================================
5
* Licensed to the Apache Software Foundation (ASF) under one
6
* or more contributor license agreements. See the NOTICE file
7
* distributed with this work for additional information
8
* regarding copyright ownership. The ASF licenses this file
9
* to you under the Apache License, Version 2.0 (the
10
* "License"); you may not use this file except in compliance
11
* with the License. You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing,
16
* software distributed under the License is distributed on an
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
* KIND, either express or implied. See the License for the
19
* specific language governing permissions and limitations
20
* under the License.
21
* ====================================================================
22
* @endcopyright
23
*/
24
25
#ifndef SVNXX_CLIENT_CONTEXT_HPP
26
#define SVNXX_CLIENT_CONTEXT_HPP
27
28
#include <memory>
29
30
namespace
apache {
31
namespace
subversion {
32
namespace
svnxx {
33
namespace
client {
34
35
namespace
detail {
36
class
context;
37
using
context_ptr = std::shared_ptr<context>;
38
using
weak_context_ptr = std::weak_ptr<context>;
39
}
// namespace detail
40
41
/**
42
* @brief The context for client operations, see @ref svn_client_ctx_t.
43
* @warning TODO: Work in progress.
44
*/
45
class
context
:
protected
detail::context_ptr
46
{
47
public
:
48
context
();
49
~
context
();
50
51
protected
:
52
using
inherited = detail::context_ptr;
53
};
54
55
}
// namespace client
56
}
// namespace svnxx
57
}
// namespace subversion
58
}
// namespace apache
59
60
#endif // SVNXX_CLIENT_CONTEXT_HPP
apache::subversion::svnxx::client::context
The context for client operations, see svn_client_ctx_t.
Definition:
context.hpp:45
Generated by
1.8.17