Code

Initialize pointer.
[inkscape.git] / cxxtest / cxxtest / StdioPrinter.h
1 #ifndef __cxxtest__StdioPrinter_h__
2 #define __cxxtest__StdioPrinter_h__
4 //
5 // The StdioPrinter is an StdioFilePrinter which defaults to stdout.
6 // This should have been called StdOutPrinter or something, but the name
7 // has been historically used.
8 //
10 #include <cxxtest/StdioFilePrinter.h>
12 namespace CxxTest 
13 {
14     class StdioPrinter : public StdioFilePrinter
15     {
16     public:
17         StdioPrinter( FILE *o = stdout, const char *preLine = ":", const char *postLine = "" ) :
18             StdioFilePrinter( o, preLine, postLine ) {}
19     };
20 }
22 #endif // __cxxtest__StdioPrinter_h__