summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/outchannel.h
blob: a458b3f8a90206211fe9520eca69860168a2254e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 1999-2017
// 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