diff options
author | Thialfihar <thi@thialfihar.org> | 2014-04-29 18:32:13 +0200 |
---|---|---|
committer | Thialfihar <thi@thialfihar.org> | 2014-04-29 18:32:13 +0200 |
commit | 6a1832ebaddc37326d35e9e4514510a3691841c7 (patch) | |
tree | fe573e766620c1739dc7ed92f12343edd43e6fcb /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java | |
parent | 1bd357cf55cf5a40134407495487de5e56487d12 (diff) | |
download | open-keychain-6a1832ebaddc37326d35e9e4514510a3691841c7.tar.gz open-keychain-6a1832ebaddc37326d35e9e4514510a3691841c7.tar.bz2 open-keychain-6a1832ebaddc37326d35e9e4514510a3691841c7.zip |
Move util.ProgressDialogUpdater to pgp.Progressable
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/Progressable.java | 26 |
1 files changed, 26 insertions, 0 deletions
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 <thi@thialfihar.org> + * + * 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 <http://www.gnu.org/licenses/>. + */ + +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); +} |