f705eb02b60d9d3db8e895472e6bb91032ec59d3
[oweals/cde.git] / cde / programs / nsgmls / ConsoleOutput.h
1 /* $XConsortium: ConsoleOutput.h /main/1 1996/07/29 16:48:15 cde-hp $ */
2 // Copyright (c) 1996 James Clark
3 // See the file COPYING for copying permission.
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 */