#ifndef __OUTPIPE_H__ #define __OUTPIPE_H__ #ifdef __cplusplus #include class OutPipe : public Handle { public: OutPipe(); virtual ~OutPipe(); void Hook(); virtual bool CanWrite(); virtual bool CanRead(); virtual String GetName(); private: int p[2], hooked; }; #else #error This only works with a C++ compiler #endif #endif