diff options
Diffstat (limited to 'src/boost/tools/quickbook/src/post_process.hpp')
-rw-r--r-- | src/boost/tools/quickbook/src/post_process.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/src/post_process.hpp b/src/boost/tools/quickbook/src/post_process.hpp new file mode 100644 index 000000000..7c4324b43 --- /dev/null +++ b/src/boost/tools/quickbook/src/post_process.hpp @@ -0,0 +1,33 @@ +/*============================================================================= + Copyright (c) 2005 2006 Joel de Guzman + http://spirit.sourceforge.net/ + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +=============================================================================*/ +#if !defined(BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP) +#define BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP + +#include <stdexcept> +#include <string> + +namespace quickbook +{ + std::string post_process( + std::string const& in, + int indent = -1, + int linewidth = -1, + bool is_html = false); + + struct post_process_failure : public std::runtime_error + { + public: + explicit post_process_failure(std::string const& error) + : std::runtime_error(error) + { + } + }; +} + +#endif // BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP |