diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-12-02 20:47:48 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-12-02 21:01:22 +0200 |
commit | 48e7a493a92730bedccc5dfaac8242ed49d55a0d (patch) | |
tree | 0fea8098a1e5d5ced26efca389bb3e5f56157756 /src/types.rs | |
parent | e5b0ff4fe2799339076de95227b13d9755245f5f (diff) |
Add reload-config command
Closes #84 Add "reload configuration" command
Diffstat (limited to 'src/types.rs')
-rw-r--r-- | src/types.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs index 0fa2eed0..47dc6a02 100644 --- a/src/types.rs +++ b/src/types.rs @@ -146,6 +146,9 @@ pub enum UIEvent { Callback(CallbackFn), GlobalUIDialog(Box<dyn Component>), Timer(Uuid), + ConfigReload { + old_settings: crate::conf::Settings, + }, } pub struct CallbackFn(pub Box<dyn FnOnce(&mut crate::Context) -> () + Send + 'static>); |