From 6a1832ebaddc37326d35e9e4514510a3691841c7 Mon Sep 17 00:00:00 2001 From: Thialfihar Date: Tue, 29 Apr 2014 18:32:13 +0200 Subject: Move util.ProgressDialogUpdater to pgp.Progressable --- .../keychain/pgp/Progressable.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java') diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java new file mode 100644 index 000000000..5f046e4c6 --- /dev/null +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2010-2014 Thialfihar + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package org.sufficientlysecure.keychain.util; + +public interface ProgressDialogUpdater { + void setProgress(String message, int current, int total); + + void setProgress(int resourceId, int current, int total); + + void setProgress(int current, int total); +} -- cgit v1.2.3