aboutsummaryrefslogtreecommitdiffstats
path: root/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'context.h')
-rw-r--r--context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/context.h b/context.h
index 3b834e4..8338fed 100644
--- a/context.h
+++ b/context.h
@@ -90,6 +90,13 @@ public:
// void decryptVerify(QByteArray in);
void sign(const QByteArray &inBuffer, QByteArray *outBuffer);
bool sign(QStringList *uidList, const QByteArray &inBuffer, QByteArray *outBuffer );
+ /**
+ * @details If text contains PGP-message, put a linebreak before the message,
+ * so that gpgme can decrypt correctly
+ *
+ * @param in Pointer to the QBytearray to check.
+ */
+ void preventNoDataErr(QByteArray *in);
signals:
void keyDBChanged();