19 #ifndef LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H 20 #define LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H 22 #include <quentier/utility/Linkage.h> 28 QT_FORWARD_DECLARE_CLASS(DecryptedTextManagerPrivate)
33 DecryptedTextManager();
34 virtual ~DecryptedTextManager();
37 const QString & hash,
const QString & decryptedText,
38 const bool rememberForSession,
const QString & passphrase,
39 const QString & cipher,
const size_t keyLength);
41 void removeEntry(
const QString & hash);
43 void clearNonRememberedForSessionEntries();
45 bool findDecryptedTextByEncryptedText(
46 const QString & encryptedText, QString & decryptedText,
47 bool & rememberForSession)
const;
49 bool modifyDecryptedText(
50 const QString & originalEncryptedText,
const QString & newDecryptedText,
51 QString & newEncryptedText);
54 Q_DISABLE_COPY(DecryptedTextManager)
56 DecryptedTextManagerPrivate *
const d_ptr;
57 Q_DECLARE_PRIVATE(DecryptedTextManager)
62 #endif // LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H Definition: DecryptedTextManager.h:26
Definition: DecryptedTextManager.h:30