X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Fpipe.h;h=d1508b2097d743b244c03f89d4230cf59cad8608;hb=933356a36607f5d4480172e285071d4d7dfc5a7b;hp=73731776856a2fc1c9d90530935fc4009ffaf2cc;hpb=e4afb5edb0b7834ef4872218c99207e6b589e9ce;p=libs%2Fcore.git 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(); } };