namespace Terminal.Gui.App; /// /// Interface for class that handles bespoke behaviours that occur when application /// top level changes. /// public interface IToplevelTransitionManager { /// /// Raises the event on tahe current top level /// if it has not been raised before now. /// /// void RaiseReadyEventIfNeeded (IApplication? app); /// /// Handles any state change needed when the application top changes e.g. /// setting redraw flags /// /// void HandleTopMaybeChanging (IApplication? app); }