diff options
Diffstat (limited to 'include/gpg/result_analyse/EncryptResultAnalyse.h')
-rw-r--r-- | include/gpg/result_analyse/EncryptResultAnalyse.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/include/gpg/result_analyse/EncryptResultAnalyse.h b/include/gpg/result_analyse/EncryptResultAnalyse.h index 447555c5..70e5a5e0 100644 --- a/include/gpg/result_analyse/EncryptResultAnalyse.h +++ b/include/gpg/result_analyse/EncryptResultAnalyse.h @@ -25,14 +25,29 @@ #ifndef GPGFRONTEND_ENCRYPTRESULTANALYSE_H #define GPGFRONTEND_ENCRYPTRESULTANALYSE_H +#include "gpg/GpgConstants.h" #include "ResultAnalyse.h" -class EncryptResultAnalyse : public ResultAnalyse { -Q_OBJECT -public: - explicit EncryptResultAnalyse(gpgme_error_t error, gpgme_encrypt_result_t result); +namespace GpgFrontend { + class EncryptResultAnalyse : public ResultAnalyse { + Q_OBJECT + public: + + explicit EncryptResultAnalyse(GpgError error, GpgEncrResult result); + + protected: + + void do_analyse() final; + + private: + + GpgError error; + GpgEncrResult result; + + }; +} + -}; #endif //GPGFRONTEND_ENCRYPTRESULTANALYSE_H |