object_handle.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // windows/object_handle.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. // Copyright (c) 2011 Boris Schaeling (boris@highscore.de)
  7. //
  8. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  9. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  10. //
  11. #ifndef BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP
  12. #define BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP
  13. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  14. # pragma once
  15. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  16. #include <boost/asio/detail/config.hpp>
  17. #if defined(BOOST_ASIO_HAS_WINDOWS_OBJECT_HANDLE) \
  18. || defined(GENERATING_DOCUMENTATION)
  19. #include <boost/asio/windows/basic_object_handle.hpp>
  20. namespace boost {
  21. namespace asio {
  22. namespace windows {
  23. /// Typedef for the typical usage of an object handle.
  24. typedef basic_object_handle<> object_handle;
  25. } // namespace windows
  26. } // namespace asio
  27. } // namespace boost
  28. #endif // defined(BOOST_ASIO_HAS_WINDOWS_OBJECT_HANDLE)
  29. // || defined(GENERATING_DOCUMENTATION)
  30. #endif // BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP