Added start of config stuff

This commit is contained in:
2023-06-04 12:08:42 +01:00
parent 105c6073fb
commit eb4bb58549
4 changed files with 140 additions and 19 deletions

19
src/infos.rs Normal file
View File

@@ -0,0 +1,19 @@
use serde_derive::{Deserialize, Serialize};
use std::path::PathBuf;
// TODO - write some impl stuff in here so the main GUI stuff
// is a little bit more decoupled from this. I think a Display
// and perhaps the path to string conversion too could be
// removed from the GUI part
#[derive(Serialize, Deserialize, Debug)]
pub struct WadInfo {
pub path: PathBuf,
pub name: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct LauncherInfo {
pub path: PathBuf,
pub name: String,
}