asio_fwd.hpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. #ifndef BOOST_PROCESS_DETAIL_WINDOWS_ASIO_FWD_HPP_
  6. #define BOOST_PROCESS_DETAIL_WINDOWS_ASIO_FWD_HPP_
  7. #include <boost/process/v1/detail/config.hpp>
  8. #include <boost/asio/ts/netfwd.hpp>
  9. #include <memory>
  10. namespace boost { namespace asio {
  11. class mutable_buffer;
  12. class mutable_buffers_1;
  13. class const_buffer;
  14. class const_buffers_1;
  15. template<typename Allocator>
  16. class basic_streambuf;
  17. typedef basic_streambuf<std::allocator<char>> streambuf;
  18. template <typename Handler>
  19. class basic_yield_context;
  20. namespace windows {
  21. template <typename Executor>
  22. class basic_stream_handle;
  23. typedef basic_stream_handle<any_io_executor> stream_handle;
  24. template <typename Executor>
  25. class basic_object_handle;
  26. typedef basic_object_handle<any_io_executor> object_handle;
  27. } //windows
  28. } //asio
  29. namespace process { BOOST_PROCESS_V1_INLINE namespace v1 { namespace detail { namespace windows {
  30. class async_pipe;
  31. template<typename T>
  32. struct async_in_buffer;
  33. template<int p1, int p2, typename Buffer>
  34. struct async_out_buffer;
  35. template<int p1, int p2, typename Type>
  36. struct async_out_future;
  37. } // windows
  38. } // detail
  39. using ::boost::process::v1::detail::windows::async_pipe;
  40. } // v1
  41. } // process
  42. } // boost
  43. #endif /* BOOST_PROCESS_DETAIL_WINDOWS_ASIO_FWD_HPP_ */