removed some useless spaces; not very important, I know :)
[senf.git] / PPI / detail / EventBinding.cci
index ad4e89e..2d93c7d 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -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: