aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/crypto/OnPgpEngineResult.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-05-01 22:33:49 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-05-01 22:33:49 +0200
commit37c8e157d0030c478ea00fbc407c8365b400af1a (patch)
tree89c3344aac980a087632d97089037d0ee15af9f2 /src/eu/siacs/conversations/crypto/OnPgpEngineResult.java
parent4b66b4b5d1c6376c964d1f252b813ba21b80a64d (diff)
reworked openpgp integration part #1
Diffstat (limited to 'src/eu/siacs/conversations/crypto/OnPgpEngineResult.java')
-rw-r--r--src/eu/siacs/conversations/crypto/OnPgpEngineResult.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/crypto/OnPgpEngineResult.java b/src/eu/siacs/conversations/crypto/OnPgpEngineResult.java
new file mode 100644
index 000000000..8e1158390
--- /dev/null
+++ b/src/eu/siacs/conversations/crypto/OnPgpEngineResult.java
@@ -0,0 +1,11 @@
+package eu.siacs.conversations.crypto;
+
+import org.openintents.openpgp.OpenPgpError;
+
+import android.app.PendingIntent;
+
+public interface OnPgpEngineResult {
+ public void success();
+ public void error(OpenPgpError openPgpError);
+ public void userInputRequried(PendingIntent pi);
+}