1 // Copyright (c) 2016 Klemens D. Morgenstern 2 // 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6 #ifndef BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ 7 #define BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ 8 9 #include <memory> 10 #include <boost/asio/ts/netfwd.hpp> 11 12 namespace boost { namespace asio { 13 14 class mutable_buffer; 15 class mutable_buffers_1; 16 17 class const_buffer; 18 class const_buffers_1; 19 20 template<typename Allocator> 21 class basic_streambuf; 22 23 typedef basic_streambuf<std::allocator<char>> streambuf; 24 25 template <typename Executor> 26 class basic_signal_set; 27 typedef basic_signal_set<any_io_executor> signal_set; 28 29 template <typename Handler> 30 class basic_yield_context; 31 32 namespace posix { 33 34 template <typename Executor> 35 class basic_stream_descriptor; 36 typedef basic_stream_descriptor<any_io_executor> stream_descriptor; 37 38 } //posix 39 } //asio 40 41 namespace process { namespace detail { namespace posix { 42 43 class async_pipe; 44 45 template<typename T> 46 struct async_in_buffer; 47 48 template<int p1, int p2, typename Buffer> 49 struct async_out_buffer; 50 51 template<int p1, int p2, typename Type> 52 struct async_out_future; 53 54 } // posix 55 } // detail 56 57 using ::boost::process::detail::posix::async_pipe; 58 59 } // process 60 } // boost 61 62 63 64 65 #endif /* BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ */ 66