From 3baa9d168c02a8734b95d1cc467601b6aaf2f6e4 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 26 Nov 2001 23:11:40 +0000 Subject: Big job here. Many bugs out. Hurray!! --- include/OutPipe.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/OutPipe.h (limited to 'include/OutPipe.h') diff --git a/include/OutPipe.h b/include/OutPipe.h new file mode 100644 index 0000000..9861d6d --- /dev/null +++ b/include/OutPipe.h @@ -0,0 +1,22 @@ +#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 -- cgit v1.2.3