]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/quickbook/src/post_process.hpp
bump version to 18.2.4-pve3
[ceph.git] / ceph / src / boost / tools / quickbook / src / post_process.hpp
1 /*=============================================================================
2 Copyright (c) 2005 2006 Joel de Guzman
3 http://spirit.sourceforge.net/
4
5 Use, modification and distribution is subject to the Boost Software
6 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt)
8 =============================================================================*/
9 #if !defined(BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP)
10 #define BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP
11
12 #include <stdexcept>
13 #include <string>
14
15 namespace quickbook
16 {
17 std::string post_process(
18 std::string const& in,
19 int indent = -1,
20 int linewidth = -1,
21 bool is_html = false);
22
23 struct post_process_failure : public std::runtime_error
24 {
25 public:
26 explicit post_process_failure(std::string const& error)
27 : std::runtime_error(error)
28 {
29 }
30 };
31 }
32
33 #endif // BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP