namespace SukiUI.Dialogs { public interface ISukiDialogManager { /// /// Raised whenever a dialog is shown. /// event SukiDialogManagerEventHandler? OnDialogShown; /// /// Raised whenever a dialog is dismissed. /// event SukiDialogManagerEventHandler? OnDialogDismissed; /// /// Attempts to show a dialog - If one is already shown this will simply return false and not show the dialog. /// bool TryShowDialog(ISukiDialog dialog); /// /// Attempts to dismiss a dialog - If the specified dialog has already been dismissed, this will return false. /// bool TryDismissDialog(ISukiDialog dialog); /// /// Dismisses the currently active dialog, if there is one. /// void DismissDialog(); } }