aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/crypto/OnPgpEngineResult.java
diff options
context:
space:
mode:
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 00000000..8e115839
--- /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);
+}