blob: c5c44f2b98b85b85b3fce54fec3a9b309d81ab5f (
plain)
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
42
|
/* Synaescope - a pretty noatun visualization (based on P. Harrison's Synaesthesia)
Copyright (C) 1997 Paul Francis Harrison <pfh@yoyo.cc.monash.edu.au>
2001 Charles Samuels <charles@kde.org>
this file is X11 source
*/
#ifndef SYNABLEH_H
#define SYNABLEH_H
#include "syna.h"
#include <tdeprocess.h>
class SynaePrefs;
class TDEProcess;
class SynaeScope : public TQObject, public Plugin
{
TQ_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
|