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