config: implement config reloading
This commit is contained in:
parent
aa19aab915
commit
7b40b42990
14 changed files with 188 additions and 50 deletions
|
|
@ -121,3 +121,11 @@ impl Timer {
|
|||
get!().on_timer_tick(self, f);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn reload() {
|
||||
get!().reload()
|
||||
}
|
||||
|
||||
pub fn is_reload() -> bool {
|
||||
get!(false).is_reload()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue