// use super::FileAccessInterface; // use super::LocalFileAccessInterface; use crate::types::Object; // TODO: Ultimately, I think we'll need most of this: https://orgmode.org/manual/In_002dbuffer-Settings.html #[derive(Debug, Clone)] // , F: FileAccessInterface pub struct GlobalSettings<'g, 's> { pub radio_targets: Vec<&'g Vec>>, // pub file_access: F, } impl<'g, 's> GlobalSettings<'g, 's> { pub fn new() -> Self { GlobalSettings { radio_targets: Vec::new(), // file_access: LocalFileAccessInterface, } } } impl<'g, 's> Default for GlobalSettings<'g, 's> { fn default() -> Self { GlobalSettings::new() } }