X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FIOEvent.hh;h=d9d771db855a9486279a3f4f7eb08e22008faabd;hb=55d09e34a5b9a9c7af23cc5ecb0ab79d58757a2d;hp=77c5d26c190b08f5188685380d4da4a4173a983a;hpb=40fa3e3f1e0f639c68bd15bf469e35045f94abee;p=senf.git diff --git a/PPI/IOEvent.hh b/PPI/IOEvent.hh index 77c5d26..d9d771d 100644 --- a/PPI/IOEvent.hh +++ b/PPI/IOEvent.hh @@ -77,11 +77,11 @@ namespace ppi { // with the enumeration symbols enum EventFlags { - Read = Scheduler::EV_READ /**< FileHandle is readable */ - , Prio = Scheduler::EV_PRIO /**< FileHandle priority data is readable */ - , Write = Scheduler::EV_WRITE /**< FileHandle is writable */ - , Hup = Scheduler::EV_HUP /**< Hangup condition on FileHandle */ - , Err = Scheduler::EV_ERR /**< Some other error condition on FileHandle */ + Read = scheduler::FdEvent::EV_READ /**< FileHandle is readable */ + , Prio = scheduler::FdEvent::EV_PRIO /**< FileHandle priority data is readable */ + , Write = scheduler::FdEvent::EV_WRITE /**< FileHandle is writable */ + , Hup = scheduler::FdEvent::EV_HUP /**< Hangup condition on FileHandle */ + , Err = scheduler::FdEvent::EV_ERR /**< Some other error condition on FileHandle */ }; /////////////////////////////////////////////////////////////////////////// @@ -106,12 +106,12 @@ namespace ppi { private: virtual void v_enable(); - virtual void v_disable(); + virtual void v_disable(); void cb(int event); int fd_; - unsigned events_; + scheduler::FdEvent event_; };