X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fpipe.h;h=d1508b2097d743b244c03f89d4230cf59cad8608;hp=73731776856a2fc1c9d90530935fc4009ffaf2cc;hb=f041a31f9a6e19da86a63912e5a8050f216e5bc5;hpb=d16185720fa344263367dbd50c61bfc8183d99a4 diff --git a/source/io/pipe.h b/source/io/pipe.h index 7373177..d1508b2 100644 --- a/source/io/pipe.h +++ b/source/io/pipe.h @@ -11,7 +11,8 @@ namespace IO { class Pipe: public EventObject { private: - Handle handle[2]; + Handle read_handle; + Handle write_handle; EventReader reader; public: @@ -25,6 +26,7 @@ protected: virtual unsigned do_read(char *, unsigned); public: + virtual const Handle &get_handle(Mode); virtual const Handle &get_event_handle() { return reader.get_event(); } };