19#ifndef __shellscript_h__
20#define __shellscript_h__
22#include <scriptinterface.h>
31 ShellScript(KScriptClientInterface *parent,
const char *name,
const TQStringList &args);
32 virtual ~ShellScript();
34 void setScript(
const TQString &scriptFile );
35 void setScript(
const TQString &scriptLibFile,
const TQString &method );
36 void run(TQObject *context = 0,
const TQVariant &arg = 0);
39 void Exit(TDEProcess *proc);
40 void stdErr(TDEProcess *proc,
char *buffer,
int buflen);
41 void stdOut(TDEProcess *proc,
char *buffer,
int buflen);
44 KScriptClientInterface *ScriptClientInterface;
45 TQString m_scriptName;
This class is the base for all script engines.
virtual TQString script() const =0
Return the current script code data.
virtual void kill()=0
Abort the scripts run.