10 #ifndef PROGRAMSENSOR_H 11 #define PROGRAMSENSOR_H 13 #include <tdeprocess.h> 14 #include <tdeprocio.h> 16 #include <tqstringlist.h> 17 #include <tqvaluevector.h> 18 #include <tqtextcodec.h> 19 class ProgramSensor :
public Sensor
24 ProgramSensor(
const TQString &programName,
int msec=1000, TQString encoding=
"" );
32 TQString sensorResult;
35 void receivedStdout(TDEProcess *proc,
char *buffer,
int buflen);
36 void processExited(TDEProcess *proc);
39 #endif // PROGRAMSENSOR_H