File indexing completed on 2026-08-28 08:42:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_ASIO_DEADLINE_TIMER_HPP
0012 #define BOOST_ASIO_DEADLINE_TIMER_HPP
0013
0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/asio/detail/config.hpp>
0019
0020 #if !defined(BOOST_ASIO_NO_DEPRECATED)
0021
0022 #if defined(BOOST_ASIO_HAS_BOOST_DATE_TIME) \
0023 || defined(GENERATING_DOCUMENTATION)
0024
0025 #include <boost/asio/detail/socket_types.hpp> // Must come before posix_time.
0026 #include <boost/asio/basic_deadline_timer.hpp>
0027
0028 #include <boost/date_time/posix_time/posix_time_types.hpp>
0029
0030 namespace boost {
0031 namespace asio {
0032
0033
0034
0035 BOOST_ASIO_DEPRECATED_MSG("Use system_timer")
0036 typedef basic_deadline_timer<boost::posix_time::ptime> deadline_timer;
0037
0038 }
0039 }
0040
0041 #endif
0042
0043
0044 #endif
0045
0046 #endif