14 #ifndef ZYPP_NG_BASE_SIGNALS_H_INCLUDED 15 #define ZYPP_NG_BASE_SIGNALS_H_INCLUDED 17 #include <sigc++/trackable.h> 18 #include <sigc++/signal.h> 19 #include <sigc++/connection.h> 24 using sigc::connection;
25 using sigc::trackable;
27 template <
class R,
class... T>
35 template <
class R,
class... T>
53 return _sig.connect( slot );
61 return _sig.connect( std::move( slot ) );
71 #endif // ZYPP_NG_CORE_SIGNALS_H_INCLUDED
sigc::signal< R(T...)> SignalType
sigc::slot< R(T...)> SlotType
connection connect(const SlotType &slot)
Connects a signal handler to a signal.
SignalProxy(SignalType &sig)
connection connect(SlotType &&slot)
Connects a signal handler to a signal.