fix doc example typo
[boost.git] / boost / signals2 / signal_base.hpp
blob1c0c094fbe65788d09deb382a7208e2b173b057c
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>
16 namespace boost {
17 namespace signals2 {
18 class slot_base;
20 class signal_base : public noncopyable
22 public:
23 friend class slot_base;
25 virtual ~signal_base() {}
26 protected:
27 virtual shared_ptr<void> lock_pimpl() const = 0;
29 } // end namespace signals2
30 } // end namespace boost
32 #endif // BOOST_SIGNALS2_SIGNAL_BASE_HPP