asio_fwd.hpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_POSIX_ASIO_FWD_HPP_
  6. #define BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_
  7. #include <memory>
  8. namespace boost { namespace asio {
  9. class mutable_buffer;
  10. class mutable_buffers_1;
  11. class const_buffer;
  12. class const_buffers_1;
  13. template<typename Allocator>
  14. class basic_streambuf;
  15. typedef basic_streambuf<std::allocator<char>> streambuf;
  16. class io_context;
  17. #if defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
  18. class signal_set_service;
  19. template <typename SignalSetService>
  20. class basic_signal_set;
  21. typedef basic_signal_set<signal_set_service> signal_set;
  22. #else /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
  23. class signal_set;
  24. #endif /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
  25. template <typename Handler>
  26. class basic_yield_context;
  27. namespace posix {
  28. #if defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
  29. class stream_descriptor_service;
  30. template <typename StreamDesscriptorService>
  31. class basic_stream_descriptor;
  32. typedef basic_stream_descriptor<stream_descriptor_service> stream_descriptor;
  33. #else /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
  34. class stream_descriptor;
  35. #endif /* defined(BOOST_ASIO_ENABLE_OLD_SERVICES) */
  36. } //posix
  37. } //asio
  38. namespace process { namespace detail { namespace posix {
  39. class async_pipe;
  40. template<typename T>
  41. struct async_in_buffer;
  42. template<int p1, int p2, typename Buffer>
  43. struct async_out_buffer;
  44. template<int p1, int p2, typename Type>
  45. struct async_out_future;
  46. } // posix
  47. } // detail
  48. using ::boost::process::detail::posix::async_pipe;
  49. } // process
  50. } // boost
  51. #endif /* BOOST_PROCESS_DETAIL_POSIX_ASIO_FWD_HPP_ */