add ability to pre-load the config
All checks were successful
/ Build & Publish (push) Successful in 39s
All checks were successful
/ Build & Publish (push) Successful in 39s
This commit is contained in:
parent
f54be5dae3
commit
4382f24399
1 changed files with 6 additions and 1 deletions
|
@ -21,10 +21,15 @@ public class ClientBoot {
|
||||||
}
|
}
|
||||||
|
|
||||||
private final CBWindow window;
|
private final CBWindow window;
|
||||||
public final TCN data = new TCN();
|
public final TCN data;
|
||||||
|
|
||||||
public ClientBoot(String name, int timeout) {
|
public ClientBoot(String name, int timeout) {
|
||||||
|
this(name, timeout, new TCN());
|
||||||
|
}
|
||||||
|
|
||||||
|
public ClientBoot(String name, int timeout, TCN data) {
|
||||||
window = new CBWindow(name, this, timeout);
|
window = new CBWindow(name, this, timeout);
|
||||||
|
this.data = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClientBoot newScreen() {
|
public ClientBoot newScreen() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue