tvision_rs/app/mod.rs
1//! The application layer: [`Program`], the application root that owns the
2//! single event loop, the timer queue, and the capture stack that powers
3//! modal dialogs; and [`Application`], a thin wrapper over it that adds
4//! window tiling/cascading and shell suspend.
5//!
6//! **Guide:** [The event loop in depth](../../../internals/event-loop.html).
7//!
8//! # Turbo Vision heritage
9//! Ports `TProgram` / `TApplication` (`tprogram.cpp`, `tapplica.cpp`). The
10//! `TApplication : TProgram` inheritance becomes embed-and-delegate composition
11//! (deviation D2) — one type holds the other and forwards to it.
12
13mod application;
14mod program;
15
16pub use application::Application;
17pub use program::{ModalFrame, Program};