2014-11-15 13:40:43 +00:00
|
|
|
package eu.siacs.conversations.entities;
|
|
|
|
|
2015-07-10 13:11:03 +00:00
|
|
|
public class TransferablePlaceholder implements Transferable {
|
2014-11-15 13:40:43 +00:00
|
|
|
|
|
|
|
private int status;
|
|
|
|
|
2015-07-10 13:11:03 +00:00
|
|
|
public TransferablePlaceholder(int status) {
|
2014-11-15 13:40:43 +00:00
|
|
|
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() {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|