Fix documentation build under maverick (doxygen 1.7.1)
[senf.git] / senf / PPI / detail / EventBinding.cci
index 2d93c7d..77df4e8 100644 (file)
     \brief EventBinding inline non-template implementation */
 
 // Custom includes
-#include "../Events.hh"
+#include <senf/PPI/Events.hh>
 
 #define prefix_ inline
-///////////////////////////////cci.p///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::ppi::detail::EventBindingBase
 
-prefix_ senf::ppi::detail::EventBindingBase::~EventBindingBase()
-{
-    descriptor_->enabled(false);
-}
-
 prefix_ senf::ppi::EventManager & senf::ppi::detail::EventBindingBase::manager()
     const
 {
@@ -49,16 +44,18 @@ prefix_ senf::ppi::module::Module & senf::ppi::detail::EventBindingBase::module(
     return *module_;
 }
 
-////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // protected members
 
 prefix_ senf::ppi::detail::EventBindingBase::EventBindingBase(EventManager & manager,
                                                               module::Module & module,
                                                               EventDescriptor & descriptor)
     : manager_(&manager), module_(&module), descriptor_(&descriptor)
-{}
+{
+    descriptor_->binding_ = this;
+}
 
-///////////////////////////////cci.e///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #undef prefix_
 
 \f