33 #ifndef __KLEO_DECRYPTJOB_H__
34 #define __KLEO_DECRYPTJOB_H__
38 #include <tqcstring.h>
43 class DecryptionResult;
66 DecryptJob( TQObject * parent,
const char * name );
74 virtual GpgME::Error
start(
const TQByteArray & cipherText ) = 0;
76 virtual GpgME::DecryptionResult exec(
const TQByteArray & cipherText,
77 TQByteArray & plainText ) = 0;
80 void result(
const GpgME::DecryptionResult & result,
const TQByteArray & plainText );
85 #endif // __KLEO_DECRYPTJOB_H__
An abstract base class for asynchronous crypto operations.
An abstract base class for asynchronous decrypters.
virtual GpgME::Error start(const TQByteArray &cipherText)=0
Starts the decryption operation.