1 // Copyright (c) 1996 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident	"%Z%%M%	%I%	%E% SMI"
4 
5 #ifndef ConsoleOutput_INCLUDED
6 #define ConsoleOutput_INCLUDED 1
7 
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11 
12 #include "OutputCharStream.h"
13 
14 #ifdef SP_NAMESPACE
15 namespace SP_NAMESPACE {
16 #endif
17 
18 class SP_API ConsoleOutput {
19 public:
20   // Returns null if fd is not a console.
21   static OutputCharStream *makeOutputCharStream(int fd);
22 };
23 
24 #ifdef SP_NAMESPACE
25 }
26 #endif
27 
28 #endif /* not ConsoleOutput_INCLUDED */
29