X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FEvents.hh;h=1025db5204c6d1a0bad8a395a4b1faa188da0c63;hb=fde4399789762f8257f7361761bd1a798068e717;hp=8e922cdce67649f8f652788648e4d01815d289dd;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/PPI/Events.hh b/senf/PPI/Events.hh index 8e922cd..1025db5 100644 --- a/senf/PPI/Events.hh +++ b/senf/PPI/Events.hh @@ -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