diff options
author | Pixel <Pixel> | 2001-11-26 23:11:40 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-26 23:11:40 +0000 |
commit | 3baa9d168c02a8734b95d1cc467601b6aaf2f6e4 (patch) | |
tree | 6c254e9d75dee5a1e305283788fea3d3fff2a445 /include/InPipe.h | |
parent | 3aa63fcbddbce8762ad0f3f54d90ad985c0f9c41 (diff) |
Big job here. Many bugs out. Hurray!!
Diffstat (limited to 'include/InPipe.h')
-rw-r--r-- | include/InPipe.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/InPipe.h b/include/InPipe.h new file mode 100644 index 0000000..251523d --- /dev/null +++ b/include/InPipe.h @@ -0,0 +1,22 @@ +#ifndef __INPIPE_H__ +#define __INPIPE_H__ +#ifdef __cplusplus + +#include <Handle.h> + +class InPipe : public Handle { + public: + InPipe(); + virtual ~InPipe(); + 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 |