1 // 2 // windows/object_handle.hpp 3 // ~~~~~~~~~~~~~~~~~~~~~~~~~ 4 // 5 // Copyright (c) 2003-2020 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 12 #ifndef BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP 13 #define BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP 14 15 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 # pragma once 17 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 19 #include <boost/asio/detail/config.hpp> 20 21 #if defined(BOOST_ASIO_HAS_WINDOWS_OBJECT_HANDLE) \ 22 || defined(GENERATING_DOCUMENTATION) 23 24 #include <boost/asio/windows/basic_object_handle.hpp> 25 26 namespace boost { 27 namespace asio { 28 namespace windows { 29 30 /// Typedef for the typical usage of an object handle. 31 typedef basic_object_handle<> object_handle; 32 33 } // namespace windows 34 } // namespace asio 35 } // namespace boost 36 37 #endif // defined(BOOST_ASIO_HAS_WINDOWS_OBJECT_HANDLE) 38 // || defined(GENERATING_DOCUMENTATION) 39 40 #endif // BOOST_ASIO_WINDOWS_OBJECT_HANDLE_HPP 41