diff options
author | Christian S <christian@pix-art.de> | 2015-07-14 09:13:08 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-07-14 09:13:08 +0200 |
commit | 169b4ba97f576cb2cbd8477ea0d3d6ed40276658 (patch) | |
tree | 74a60f38a1b170962a04fdceaa7e3726b766c291 /src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java | |
parent | c0016b6fa7b778700c21e15baff58b03b1b1f8d6 (diff) | |
parent | ffffca10f0c3e399fbbcde200ea4758acc5ba03f (diff) |
Merge branch 'development' of https://github.com/siacs/Conversations into siacs-development
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java b/src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java new file mode 100644 index 000000000..e065953ef --- /dev/null +++ b/src/main/java/eu/siacs/conversations/entities/TransferablePlaceholder.java @@ -0,0 +1,34 @@ +package eu.siacs.conversations.entities; + +public class TransferablePlaceholder implements Transferable { + + private int status; + + public TransferablePlaceholder(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() { + + } +} |