Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
28
cde/programs/nsgmls/ConsoleOutput.h
Normal file
28
cde/programs/nsgmls/ConsoleOutput.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/* $XConsortium: ConsoleOutput.h /main/1 1996/07/29 16:48:15 cde-hp $ */
|
||||
// Copyright (c) 1996 James Clark
|
||||
// See the file COPYING for copying permission.
|
||||
|
||||
#ifndef ConsoleOutput_INCLUDED
|
||||
#define ConsoleOutput_INCLUDED 1
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
#include "OutputCharStream.h"
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
namespace SP_NAMESPACE {
|
||||
#endif
|
||||
|
||||
class SP_API ConsoleOutput {
|
||||
public:
|
||||
// Returns null if fd is not a console.
|
||||
static OutputCharStream *makeOutputCharStream(int fd);
|
||||
};
|
||||
|
||||
#ifdef SP_NAMESPACE
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* not ConsoleOutput_INCLUDED */
|
||||
Reference in New Issue
Block a user