summaryrefslogtreecommitdiffstats
path: root/fitsy/outchannel.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-03-19 14:52:02 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-03-19 14:52:02 (GMT)
commitd464af4522b4ecc906eb726a55fb01dc2db44930 (patch)
treefe8613cbd93424e933229e7ad7cc7d5ceae11fd8 /fitsy/outchannel.h
parent36b673794f503c76e7dca7360bea4cd1ebf1e660 (diff)
downloadblt-d464af4522b4ecc906eb726a55fb01dc2db44930.zip
blt-d464af4522b4ecc906eb726a55fb01dc2db44930.tar.gz
blt-d464af4522b4ecc906eb726a55fb01dc2db44930.tar.bz2
libfitsy
Diffstat (limited to 'fitsy/outchannel.h')
-rw-r--r--fitsy/outchannel.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/fitsy/outchannel.h b/fitsy/outchannel.h
new file mode 100644
index 0000000..4c847e3
--- /dev/null
+++ b/fitsy/outchannel.h
@@ -0,0 +1,20 @@
+// Copyright (C) 1999-2018
+// 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