33 #ifndef __KLEO_BACKEND_CHIASMUS__SYMCRYPTRUNPROCESSBASE_H__
34 #define __KLEO_BACKEND_CHIASMUS__SYMCRYPTRUNPROCESSBASE_H__
36 #include <tdeprocess.h>
38 #include <tqcstring.h>
44 class SymCryptRunProcessBase : public TDEProcess {
51 SymCryptRunProcessBase( const TQString & class_, const TQString & program,
52 const TQString & keyFile, const TQString& options,
54 TQObject * parent=0, const char * name=0 );
55 ~SymCryptRunProcessBase();
57 bool launch( const TQByteArray & input, RunMode rm=NotifyOnExit );
59 const TQByteArray & output() const { return mOutput; }
60 const TQString & stdErr() const { return mStderr; }
64 void closeStdin() { TDEProcess::closeStdin(); }
67 void slotReceivedStdout( TDEProcess *, char *, int );
68 void slotReceivedStderr( TDEProcess *, char *, int );
76 const Operation mOperation;
|