UI type save on configuration file

This commit is contained in:
Laurent Clouet
2015-04-08 20:37:53 +01:00
parent 3226d188af
commit ca221ddc8b
4 changed files with 41 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ public class Configuration {
public List<Pair<Calendar, Calendar>> requestTime;
private String extras;
private boolean autoSignIn;
private String UIType;
public Configuration(File cache_dir_, String login_, String password_) {
this.login = login_;
@@ -69,6 +70,7 @@ public class Configuration {
this.requestTime = null;
this.extras = "";
this.autoSignIn = false;
this.UIType = null;
}
public String toString() {
@@ -195,6 +197,14 @@ public class Configuration {
return this.autoSignIn;
}
public void setUIType(String ui) {
this.UIType = ui;
}
public String getUIType() {
return this.UIType;
}
public void cleanWorkingDirectory() {
this.cleanDirectory(this.workingDirectory);
this.cleanDirectory(this.storageDirectory);