mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
Validate settings before run
This commit is contained in:
@@ -10,6 +10,14 @@ where
|
||||
|
||||
fn get_shortcuts(&self) -> Result<Vec<T>, E>;
|
||||
|
||||
fn settings_valid(&self) -> SettingsValidity;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn create_symlinks(&self) -> bool;
|
||||
}
|
||||
|
||||
|
||||
pub enum SettingsValidity{
|
||||
Valid,
|
||||
Invalid{reason:String},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user