From 730e152cbae6f69f9067053370ffb05ac1764181 Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Tue, 12 Dec 2000 22:27:08 +0000 Subject: [PATCH] give this a try --- dtool/src/dtoolutil/pfstreamBuf.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dtool/src/dtoolutil/pfstreamBuf.h diff --git a/dtool/src/dtoolutil/pfstreamBuf.h b/dtool/src/dtoolutil/pfstreamBuf.h new file mode 100644 index 0000000000..ecb9688f27 --- /dev/null +++ b/dtool/src/dtoolutil/pfstreamBuf.h @@ -0,0 +1,25 @@ +// Filename: pfstreamBuf.h +// Created by: cary (12Dec00) +// +//////////////////////////////////////////////////////////////////// + +#ifndef __PFSTREAMBUF_H__ +#define __PFSTREAMBUF_H__ + +#include +#include + +class EXPCL_PANDA PipeStreamBuf : public streambuf { +public: + PipeStreamBuf(void); + virtual ~PipeStreamBuf(void); + + void flush(); +protected: + virtual int overflow(int c); + virtual int sync(); + virtual int underflow(); +private: +}; + +#endif /* __PFSTREAMBUF_H__ */