X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FIOEvent.cti;h=7372e360b962e1c03ad24bccefa2130b2dac9d4a;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=549bd4789b98caf16083cdbd23efab705a09c2ec;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/IOEvent.cti b/PPI/IOEvent.cti index 549bd47..7372e36 100644 --- a/PPI/IOEvent.cti +++ b/PPI/IOEvent.cti @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -26,6 +26,7 @@ //#include "IOEvent.ih" // Custom includes +#include #define prefix_ inline ///////////////////////////////cti.p/////////////////////////////////////// @@ -35,7 +36,8 @@ template prefix_ senf::ppi::IOEvent::IOEvent(Handle handle, unsigned events) - : fd_(retrieve_filehandle(handle)), events_(events) + : fd_ (senf::scheduler::get_descriptor(handle)), + event_ ("senf::ppi::IOEvent", boost::bind(&IOEvent::cb,this,_1), fd_, events, false) {} ///////////////////////////////cti.e///////////////////////////////////////