]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // |
b32b8144 FG |
2 | // serial_port.hpp |
3 | // ~~~~~~~~~~~~~~~ | |
7c673cae | 4 | // |
92f5a8d4 | 5 | // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
7c673cae FG |
6 | // Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com) |
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 | ||
b32b8144 FG |
12 | #ifndef BOOST_ASIO_SERIAL_PORT_HPP |
13 | #define BOOST_ASIO_SERIAL_PORT_HPP | |
7c673cae FG |
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_SERIAL_PORT) \ | |
22 | || defined(GENERATING_DOCUMENTATION) | |
23 | ||
92f5a8d4 | 24 | #include <boost/asio/basic_serial_port.hpp> |
7c673cae FG |
25 | |
26 | namespace boost { | |
27 | namespace asio { | |
28 | ||
92f5a8d4 | 29 | /// Typedef for the typical usage of a serial port. |
b32b8144 | 30 | typedef basic_serial_port<> serial_port; |
7c673cae FG |
31 | |
32 | } // namespace asio | |
33 | } // namespace boost | |
34 | ||
7c673cae FG |
35 | #endif // defined(BOOST_ASIO_HAS_SERIAL_PORT) |
36 | // || defined(GENERATING_DOCUMENTATION) | |
37 | ||
b32b8144 | 38 | #endif // BOOST_ASIO_SERIAL_PORT_HPP |