aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/NullProgressable.java
blob: 68312dca3912ceba788c35e5bf70b6b2e1097334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.sufficientlysecure.keychain.pgp;

/**
 * No-op implementation of Progressable
 */
public class NullProgressable implements Progressable {

    @Override
    public void setProgress(String message, int current, int total) {
    }

    @Override
    public void setProgress(int resourceId, int current, int total) {
    }

    @Override
    public void setProgress(int current, int total) {
    }
}