Allow user to set tile size
This commit is contained in:
@@ -54,6 +54,7 @@ public class Configuration {
|
||||
private String extras;
|
||||
private boolean autoSignIn;
|
||||
private String UIType;
|
||||
private int tileSize;
|
||||
|
||||
public Configuration(File cache_dir_, String login_, String password_) {
|
||||
this.login = login_;
|
||||
@@ -73,6 +74,7 @@ public class Configuration {
|
||||
this.extras = "";
|
||||
this.autoSignIn = false;
|
||||
this.UIType = null;
|
||||
this.tileSize = -1; // ie not set
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
@@ -215,6 +217,14 @@ public class Configuration {
|
||||
return this.UIType;
|
||||
}
|
||||
|
||||
public void setTileSize(int size) {
|
||||
this.tileSize = size;
|
||||
}
|
||||
|
||||
public int getTileSize() {
|
||||
return this.tileSize;
|
||||
}
|
||||
|
||||
public void cleanWorkingDirectory() {
|
||||
this.cleanDirectory(this.workingDirectory);
|
||||
this.cleanDirectory(this.storageDirectory);
|
||||
|
||||
Reference in New Issue
Block a user