12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef BOOST_ASIO_DETAIL_SIGNAL_OP_HPP
- #define BOOST_ASIO_DETAIL_SIGNAL_OP_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include <boost/asio/detail/config.hpp>
- #include <boost/asio/detail/operation.hpp>
- #include <boost/asio/detail/push_options.hpp>
- namespace boost {
- namespace asio {
- namespace detail {
- class signal_op
- : public operation
- {
- public:
-
- boost::system::error_code ec_;
-
- void* cancellation_key_;
-
- int signal_number_;
- protected:
- signal_op(func_type func)
- : operation(func),
- cancellation_key_(0),
- signal_number_(0)
- {
- }
- };
- }
- }
- }
- #include <boost/asio/detail/pop_options.hpp>
- #endif
|