#![allow(unused_imports)]
pub mod effects;
pub mod msg;
pub mod update;
pub mod recovery;
pub mod events;
pub mod queue;
pub mod undo;
pub mod notifications;
pub mod throttle;
pub mod selectors;
pub mod focus;
pub mod clipboard;
pub mod help;
#[cfg(test)]
mod tests;
pub use effects::Effect;
pub use msg::Msg;
pub use update::update;
pub use recovery::{RecoverableError, RecoverableResult, ErrorCategory};
pub use events::EventBus;
pub use queue::CommandQueue;
pub use undo::UndoStack;
pub use notifications::NotificationManager;
pub use throttle::{Throttle, Debounce};
pub use focus::{FocusManager, Panel};
pub use clipboard::ClipboardManager;
pub use help::HelpSystem;
#[derive(Debug, Clone)]
pub struct UpdateResult {
pub effect: Option<Effect>,
}
impl UpdateResult {
pub fn none() -> Self {
Self { effect: None }
}
pub fn with_effect(effect: Effect) -> Self {
Self { effect: Some(effect) }
}
}