aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java
blob: cce22ea39dfed955eea5d7bfe2b6fd1904b0735c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package eu.siacs.conversations.entities;

public class DownloadablePlaceholder implements Downloadable {

	private int status;

	public DownloadablePlaceholder(int status) {
		this.status = status;
	}
	@Override
	public boolean start() {
		return false;
	}

	@Override
	public int getStatus() {
		return status;
	}

	@Override
	public long getFileSize() {
		return 0;
	}

	@Override
	public int getProgress() {
		return 0;
	}

	@Override
	public void cancel() {

	}
}