1 // Boost.Signals2 library
3 // Copyright Frank Mori Hess 2007-2008.
4 // Use, modification and
5 // distribution is subject to the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // For more information, see http://www.boost.org
11 #ifndef BOOST_SIGNALS2_SIGNAL_BASE_HPP
12 #define BOOST_SIGNALS2_SIGNAL_BASE_HPP
14 #include <boost/noncopyable.hpp>
20 class signal_base
: public noncopyable
23 friend class slot_base
;
25 virtual ~signal_base() {}
27 virtual shared_ptr
<void> lock_pimpl() const = 0;
29 } // end namespace signals2
30 } // end namespace boost
32 #endif // BOOST_SIGNALS2_SIGNAL_BASE_HPP