diff options
author | Saturneric <[email protected]> | 2021-12-01 17:25:46 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-01 17:53:09 +0000 |
commit | 1ae8663decb3163b92d32b80cefb46eb678a5af6 (patch) | |
tree | 8e8cb58cacfe12827438b0524917cb0926f926cb /src/gpg/function/BasicOperator.h | |
parent | Add & Modified (diff) | |
download | GpgFrontend-1ae8663decb3163b92d32b80cefb46eb678a5af6.tar.gz GpgFrontend-1ae8663decb3163b92d32b80cefb46eb678a5af6.zip |
Add i18n Support
1. Remove Qt Linguist.
2. Add GNU gettext libraries.
3. Modified source codes to meet with i18n support.
Diffstat (limited to 'src/gpg/function/BasicOperator.h')
-rw-r--r-- | src/gpg/function/BasicOperator.h | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/src/gpg/function/BasicOperator.h b/src/gpg/function/BasicOperator.h index e8fa943d..e83ade70 100644 --- a/src/gpg/function/BasicOperator.h +++ b/src/gpg/function/BasicOperator.h @@ -1,7 +1,7 @@ /** - * This file is part of GPGFrontend. + * This file is part of GpgFrontend. * - * GPGFrontend is free software: you can redistribute it and/or modify + * GpgFrontend is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. @@ -34,35 +34,26 @@ namespace GpgFrontend { class BasicOperator : public SingletonFunctionObject<BasicOperator> { public: - gpg_error_t Encrypt(KeyArgsList&& keys, - BypeArrayRef in_buffer, - ByteArrayPtr& out_buffer, - GpgEncrResult& result); + gpg_error_t Encrypt(KeyArgsList&& keys, BypeArrayRef in_buffer, + ByteArrayPtr& out_buffer, GpgEncrResult& result); - gpgme_error_t EncryptSign(KeyArgsList&& keys, - KeyArgsList&& signers, - BypeArrayRef in_buffer, - ByteArrayPtr& out_buffer, + gpgme_error_t EncryptSign(KeyArgsList&& keys, KeyArgsList&& signers, + BypeArrayRef in_buffer, ByteArrayPtr& out_buffer, GpgEncrResult& encr_result, GpgSignResult& sign_result); - gpgme_error_t Decrypt(BypeArrayRef in_buffer, - ByteArrayPtr& out_buffer, + gpgme_error_t Decrypt(BypeArrayRef in_buffer, ByteArrayPtr& out_buffer, GpgDecrResult& result); - gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, - ByteArrayPtr& out_buffer, + gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr& out_buffer, GpgDecrResult& decrypt_result, GpgVerifyResult& verify_result); - gpgme_error_t Verify(BypeArrayRef in_buffer, - ByteArrayPtr& sig_buffer, + gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr& sig_buffer, GpgVerifyResult& result) const; - gpg_error_t Sign(KeyArgsList&& key_fprs, - BypeArrayRef in_buffer, - ByteArrayPtr& out_buffer, - gpgme_sig_mode_t mode, + gpg_error_t Sign(KeyArgsList&& key_fprs, BypeArrayRef in_buffer, + ByteArrayPtr& out_buffer, gpgme_sig_mode_t mode, GpgSignResult& result); void SetSigners(KeyArgsList& keys); |