aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java
blob: 03fceceb737205ff06a127c43eff286cb90a2653 (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
35
36
37
38
39
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 String getMimeType() {
		return "";
	}

	@Override
	public void cancel() {

	}
}