X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FEvents.hh;h=1025db5204c6d1a0bad8a395a4b1faa188da0c63;hb=d80f142699130075658d6448c90adf71338f2c5a;hp=39e9d486cff61a5d86b90aada56961fd201703b6;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/PPI/Events.hh b/senf/PPI/Events.hh index 39e9d48..1025db5 100644 --- a/senf/PPI/Events.hh +++ b/senf/PPI/Events.hh @@ -28,7 +28,7 @@ // Custom includes #include -#include "../Scheduler/ClockService.hh" +#include #include "predecl.hh" //#include "Events.mpp" @@ -36,6 +36,8 @@ namespace senf { namespace ppi { + + namespace detail { class EventBindingBase; } /** \defgroup event_group Events @@ -85,6 +87,7 @@ namespace ppi { void notifyUnthrottle(); void registerRoute(ForwardingRoute & route); + void unregisterRoute(ForwardingRoute & route); bool enabled_; bool throttled_; @@ -92,7 +95,10 @@ namespace ppi { typedef std::vector Routes; Routes routes_; + detail::EventBindingBase * binding_; + friend class ForwardingRoute; + friend class detail::EventBindingBase; }; /** \brief Internal: Callback forwarders