use std::collections::HashMap;
#[derive(Debug, Clone, PartialEq)]
pub enum InfValue {
CommaSeparated(Vec<String>),
Raw(String),
List(Vec<String>),
}
#[derive(Debug, Clone, PartialEq)]
pub enum InfEntry {
KeyValue(String, Option<InfValue>),
OnlyValue(InfValue),
}
#[derive(Debug, Clone, PartialEq)]
pub struct InfSection {
pub name: String,
pub entries: Vec<InfEntry>,
}
#[derive(Debug, PartialEq)]
pub struct InfFile {
pub sections: HashMap<String, InfSection>,
pub strings: HashMap<String, String>,
}