1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
// Copyright (C) 1999-2013
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"
#ifndef __iistcl_h__
#define __iistcl_h__
extern "C" {
#include "ximtool.h"
}
extern int IISDebug;
#define MAXCHANNEL 40
class IIS {
private:
Tcl_Interp* interp;
public:
XimData xim;
IoChan* chan[MAXCHANNEL];
void (*func[MAXCHANNEL])(IoChan*, int*, void*);
public:
IIS(Tcl_Interp*);
~IIS();
void eval(char*);
const char* evalstr(char*);
const char* result();
int open(int, const char*[]);
int close();
int retcur(int, const char*[]);
int encodewcs(int, const char*[]);
int debug(int, const char*[]);
};
extern IIS* iis;
#endif
|