scummvm/test/cxxtest/cxxtest/StdioPrinter.h
2006-03-29 10:25:48 +00:00

23 lines
581 B
C++

#ifndef __cxxtest__StdioPrinter_h__
#define __cxxtest__StdioPrinter_h__
//
// The StdioPrinter is an StdioFilePrinter which defaults to stdout.
// This should have been called StdOutPrinter or something, but the name
// has been historically used.
//
#include <cxxtest/StdioFilePrinter.h>
namespace CxxTest
{
class StdioPrinter : public StdioFilePrinter
{
public:
StdioPrinter( FILE *o = stdout, const char *preLine = ":", const char *postLine = "" ) :
StdioFilePrinter( o, preLine, postLine ) {}
};
}
#endif // __cxxtest__StdioPrinter_h__