/* Synaescope - a pretty noatun visualization (based on P. Harrison's Synaesthesia) Copyright (C) 1997 Paul Francis Harrison 2001 Charles Samuels this file is X11 source */ #ifndef SYNABLEH_H #define SYNABLEH_H #include "syna.h" #include class SynaePrefs; class TDEProcess; class SynaeScope : public TQObject, public Plugin { Q_OBJECT public: SynaeScope(); virtual ~SynaeScope(); void init(); void runScope(); private slots: void processExited(TDEProcess *); void readConfig(); void receivedStdout(TDEProcess *, char *buf, int len); void receivedStderr(TDEProcess *, char *buf, int len); private: TDEProcess process; TQString scopeExePath; bool restarting; SynaePrefs *mPrefs; }; #endif