~ubuntu-branches/ubuntu/maverick/libtorrent-rasterbar/maverick

« back to all changes in this revision

Viewing changes to include/libtorrent/asio/detail/win_iocp_io_service_fwd.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Cristian Greco
  • Date: 2008-07-02 10:46:21 UTC
  • Revision ID: james.westby@ubuntu.com-20080702104621-jzx3pfke9lkcxfxn
Tags: upstream-0.13.1
ImportĀ upstreamĀ versionĀ 0.13.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// win_iocp_io_service_fwd.hpp
 
3
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
4
//
 
5
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
 
6
//
 
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
 
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
9
//
 
10
 
 
11
#ifndef ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
 
12
#define ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
 
13
 
 
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
 
15
# pragma once
 
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
 
17
 
 
18
#include "asio/detail/push_options.hpp"
 
19
 
 
20
#include "asio/detail/push_options.hpp"
 
21
#include <boost/config.hpp>
 
22
#include "asio/detail/pop_options.hpp"
 
23
 
 
24
#include "asio/detail/socket_types.hpp"
 
25
 
 
26
// This service is only supported on Win32 (NT4 and later).
 
27
#if !defined(ASIO_DISABLE_IOCP)
 
28
#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
 
29
#if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
 
30
#if !defined(UNDER_CE)
 
31
 
 
32
// Define this to indicate that IOCP is supported on the target platform.
 
33
#define ASIO_HAS_IOCP 1
 
34
 
 
35
namespace asio {
 
36
namespace detail {
 
37
 
 
38
class win_iocp_io_service;
 
39
 
 
40
} // namespace detail
 
41
} // namespace asio
 
42
 
 
43
#endif // !defined(UNDER_CE)
 
44
#endif // defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0400)
 
45
#endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
 
46
#endif // !defined(ASIO_DISABLE_IOCP)
 
47
 
 
48
#include "asio/detail/pop_options.hpp"
 
49
 
 
50
#endif // ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP