19 #ifndef LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H 20 #define LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H 22 #include <quentier/utility/Linkage.h> 27 QT_FORWARD_DECLARE_CLASS(DecryptedTextManagerPrivate)
32 DecryptedTextManager();
33 virtual ~DecryptedTextManager();
35 void addEntry(
const QString & hash,
const QString & decryptedText,
36 const bool rememberForSession,
const QString & passphrase,
37 const QString & cipher,
const size_t keyLength);
39 void removeEntry(
const QString & hash);
41 void clearNonRememberedForSessionEntries();
43 bool findDecryptedTextByEncryptedText(
const QString & encryptedText, QString & decryptedText,
44 bool & rememberForSession)
const;
46 bool modifyDecryptedText(
const QString & originalEncryptedText,
const QString & newDecryptedText,
47 QString & newEncryptedText);
50 Q_DISABLE_COPY(DecryptedTextManager)
52 DecryptedTextManagerPrivate *
const d_ptr;
53 Q_DECLARE_PRIVATE(DecryptedTextManager)
58 #endif // LIB_QUENTIER_ENML_DECRYPTED_TEXT_MANAGER_H Definition: DecryptedTextManager.h:25
Definition: DecryptedTextManager.h:29