X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fpipe.h;h=eb77e6ab830d0d50cfa5bbedc16a29b7bbfbe4d2;hp=4e4e42b031796f3588dea1a88a3f4c607f84928f;hb=c21ab7e49852585df01b4cc19599e25a918b581b;hpb=378ec811c8df431f5b4e7094eb1949476d3a79fe diff --git a/source/io/pipe.h b/source/io/pipe.h index 4e4e42b..eb77e6a 100644 --- a/source/io/pipe.h +++ b/source/io/pipe.h @@ -1,12 +1,13 @@ #ifndef MSP_IO_PIPE_H_ #define MSP_IO_PIPE_H_ -#include "base.h" +#include "eventobject.h" +#include "handle.h" namespace Msp { namespace IO { -class Pipe: public Base +class Pipe: public EventObject { private: struct Private; @@ -27,7 +28,7 @@ protected: virtual unsigned do_read(char *, unsigned); public: - virtual Handle get_event_handle(); + virtual const Handle &get_event_handle(); }; } // namespace IO