#ifndef __INPIPE_H__ #define __INPIPE_H__ #include class InPipe : public Handle { public: InPipe(); InPipe(const InPipe &); virtual ~InPipe(); void Hook(); virtual bool CanWrite(); virtual bool CanRead(); virtual String GetName(); void HalfClose(); private: int p[2]; bool hooked, halfclosed; }; #endif