mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
give this a try
This commit is contained in:
parent
bce93cfe8c
commit
730e152cba
25
dtool/src/dtoolutil/pfstreamBuf.h
Normal file
25
dtool/src/dtoolutil/pfstreamBuf.h
Normal file
@ -0,0 +1,25 @@
|
||||
// Filename: pfstreamBuf.h
|
||||
// Created by: cary (12Dec00)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __PFSTREAMBUF_H__
|
||||
#define __PFSTREAMBUF_H__
|
||||
|
||||
#include <dtoolbase.h>
|
||||
#include <iostream>
|
||||
|
||||
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__ */
|
Loading…
x
Reference in New Issue
Block a user