Add SENF internal senf::SenfLog debug stream and make it default for the 'senf' names...
[senf.git] / PPI / detail / EventBinding.cci
index ad4e89e..9a4adc4 100644 (file)
@@ -24,6 +24,7 @@
     \brief EventBinding inline non-template implementation */
 
 // Custom includes
+#include "../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
+{
+    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: