diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-15 14:40:43 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-15 15:34:12 +0100 |
commit | 47d44448f3c2e4527b23fcabc4ee65269094eda1 (patch) | |
tree | 85fbd9aff9e5656bbbd4a32755f1e92322021181 /src/main/java/eu/siacs/conversations/entities | |
parent | e0f012dba1e8eba3a2d721d685d67ac7901e5c84 (diff) |
fixed description in notifications and conversation overview
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java b/src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java new file mode 100644 index 00000000..03fceceb --- /dev/null +++ b/src/main/java/eu/siacs/conversations/entities/DownloadablePlaceholder.java @@ -0,0 +1,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() { + + } +} |