PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/asio/serial_port.hpp

http://hadesmem.googlecode.com/
C++ Header | 38 lines | 16 code | 10 blank | 12 comment | 2 complexity | bd5a55e6cf59e72b35cbdf83d51be839 MD5 | raw file
 1//
 2// serial_port.hpp
 3// ~~~~~~~~~~~~~~~
 4//
 5// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
 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
12#ifndef BOOST_ASIO_SERIAL_PORT_HPP
13#define BOOST_ASIO_SERIAL_PORT_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_SERIAL_PORT) \
22  || defined(GENERATING_DOCUMENTATION)
23
24#include <boost/asio/basic_serial_port.hpp>
25
26namespace boost {
27namespace asio {
28
29/// Typedef for the typical usage of a serial port.
30typedef basic_serial_port<> serial_port;
31
32} // namespace asio
33} // namespace boost
34
35#endif // defined(BOOST_ASIO_HAS_SERIAL_PORT)
36       //   || defined(GENERATING_DOCUMENTATION)
37
38#endif // BOOST_ASIO_SERIAL_PORT_HPP