~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/cxxtest/cxxtest/StdioPrinter.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

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__