Added start of config stuff
This commit is contained in:
19
src/infos.rs
Normal file
19
src/infos.rs
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user