X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2Fdetail%2FEventBinding.cci;h=9a4adc49dbcc2e67e0eb174df2fa2456ab8b34b4;hb=949e357e249299c8519aa3af62245a0010dcce44;hp=ad4e89e22c13470d1c933e607935554d8da883e8;hpb=81ffa1c459b96dd44472bcef37e1e373934ee138;p=senf.git diff --git a/PPI/detail/EventBinding.cci b/PPI/detail/EventBinding.cci index ad4e89e..9a4adc4 100644 --- a/PPI/detail/EventBinding.cci +++ b/PPI/detail/EventBinding.cci @@ -24,6 +24,7 @@ \brief EventBinding inline non-template implementation */ // Custom includes +#include "../Events.hh" #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// @@ -31,6 +32,23 @@ /////////////////////////////////////////////////////////////////////////// // senf::ppi::detail::EventBindingBase +prefix_ senf::ppi::detail::EventBindingBase::~EventBindingBase() +{ + descriptor_->enabled(false); +} + +prefix_ senf::ppi::EventManager & senf::ppi::detail::EventBindingBase::manager() + const +{ + return *manager_; +} + +prefix_ senf::ppi::module::Module & senf::ppi::detail::EventBindingBase::module() + const +{ + return *module_; +} + //////////////////////////////////////// // protected members @@ -51,5 +69,5 @@ prefix_ senf::ppi::detail::EventBindingBase::EventBindingBase(EventManager & man // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" -// compile-command: "scons -u test" +// compile-command: "scons -u ../test" // End: