23 lines
757 B
C#
23 lines
757 B
C#
/*
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
using SafeExamBrowser.UserInterface.Contracts.Windows.Data;
|
|
|
|
namespace SafeExamBrowser.UserInterface.Contracts.Windows
|
|
{
|
|
/// <summary>
|
|
/// The dialog shown in case a communication failure with a server occurs.
|
|
/// </summary>
|
|
public interface IServerFailureDialog
|
|
{
|
|
/// <summary>
|
|
/// Shows the dialog as topmost window. If a parent window is specified, the dialog is rendered modally for the given parent.
|
|
/// </summary>
|
|
ServerFailureDialogResult Show(IWindow parent = null);
|
|
}
|
|
}
|