$search
00001 // 00002 // win_iocp_io_service_fwd.hpp 00003 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00004 // 00005 // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) 00006 // 00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00009 // 00010 00011 #ifndef ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP 00012 #define ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP 00013 00014 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 00015 # pragma once 00016 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 00017 00018 #include "asio/detail/push_options.hpp" 00019 00020 #include "asio/detail/push_options.hpp" 00021 #include <boost/config.hpp> 00022 #include "asio/detail/pop_options.hpp" 00023 00024 #include "asio/detail/socket_types.hpp" 00025 00026 // This service is only supported on Win32 (NT4 and later). 00027 #if !defined(ASIO_DISABLE_IOCP) 00028 #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) 00029 #if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) 00030 #if !defined(UNDER_CE) 00031 00032 // Define this to indicate that IOCP is supported on the target platform. 00033 #define ASIO_HAS_IOCP 1 00034 00035 namespace asio { 00036 namespace detail { 00037 00038 class win_iocp_io_service; 00039 00040 } // namespace detail 00041 } // namespace asio 00042 00043 #endif // !defined(UNDER_CE) 00044 #endif // defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400) 00045 #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__) 00046 #endif // !defined(ASIO_DISABLE_IOCP) 00047 00048 #include "asio/detail/pop_options.hpp" 00049 00050 #endif // ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP