NEW FILE HEADER / COPYRIGHT FORMAT
[senf.git] / PPI / detail / EventBinding.cti
index b59906d..4e2db74 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
 // Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// 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
@@ -26,6 +26,7 @@
 //#include "EventBinding.ih"
 
 // Custom includes
+#include "../EventManager.hh"
 
 #define prefix_ inline
 ///////////////////////////////cti.p///////////////////////////////////////
@@ -45,7 +46,7 @@ senf::ppi::detail::EventBindingHelper<EventType,Self>::callback(EventArg event,
 template <class EventType, class Self>
 prefix_ void senf::ppi::detail::EventBindingHelper<EventType,Self>::callback(EventArg event)
 {
-    callback(event, ClockService::now());
+    callback(event, self().manager().now());
 }
 
 ////////////////////////////////////////
@@ -71,7 +72,7 @@ senf::ppi::detail::EventBindingHelper<void,Self>::callback(ClockService::clock_t
 template <class Self>
 prefix_ void senf::ppi::detail::EventBindingHelper<void,Self>::callback()
 {
-    callback(ClockService::now());
+    callback(self().manager().now());
 }
 
 ////////////////////////////////////////