diff options
Diffstat (limited to 'tksao/fitsy++/outchannel.h')
-rw-r--r-- | tksao/fitsy++/outchannel.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tksao/fitsy++/outchannel.h b/tksao/fitsy++/outchannel.h new file mode 100644 index 0000000..e321f93 --- /dev/null +++ b/tksao/fitsy++/outchannel.h @@ -0,0 +1,20 @@ +// Copyright (C) 1999-2016 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __outchannel_h__ +#define __outchannel_h__ + +#include "outfits.h" + +class OutFitsChannel : public virtual OutFitsStream { + private: + Tcl_Channel ch_; + + public: + OutFitsChannel(Tcl_Interp*, const char*); + + int write(char*, size_t); +}; + +#endif |