~vaifrax/inkscape/bugfix170049

« back to all changes in this revision

Viewing changes to cxxtest/cxxtest/StdioPrinter.h

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __cxxtest__StdioPrinter_h__
 
2
#define __cxxtest__StdioPrinter_h__
 
3
 
 
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
//
 
9
 
 
10
#include <cxxtest/StdioFilePrinter.h>
 
11
 
 
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
}
 
21
 
 
22
#endif // __cxxtest__StdioPrinter_h__