summaryrefslogtreecommitdiffstats
path: root/fitsy/outchannel.h
diff options
context:
space:
mode:
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