Chris@16: // Boost.Signals2 library Chris@16: Chris@16: // Copyright Frank Mori Hess 2007-2008. Chris@16: // Use, modification and Chris@16: // distribution is subject to the Boost Software License, Version Chris@16: // 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // For more information, see http://www.boost.org Chris@16: Chris@16: #ifndef BOOST_SIGNALS2_SIGNAL_BASE_HPP Chris@16: #define BOOST_SIGNALS2_SIGNAL_BASE_HPP Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: namespace signals2 { Chris@16: class slot_base; Chris@16: Chris@16: class signal_base : public noncopyable Chris@16: { Chris@16: public: Chris@16: friend class slot_base; Chris@16: Chris@16: virtual ~signal_base() {} Chris@16: protected: Chris@16: virtual shared_ptr lock_pimpl() const = 0; Chris@16: }; Chris@16: } // end namespace signals2 Chris@16: } // end namespace boost Chris@16: Chris@16: #endif // BOOST_SIGNALS2_SIGNAL_BASE_HPP