2018-01-26 12:33:36 +01:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2018-01-26 12:33:36 +01:00
|
|
|
|
*
|
|
|
|
|
* 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
using SafeExamBrowser.Logging.Contracts;
|
2018-01-26 12:33:36 +01:00
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.UserInterface.Contracts.Windows
|
2018-01-26 12:33:36 +01:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main window of the runtime application component. It is controlled by the <see cref="Behaviour.IRuntimeController"/> and serves
|
|
|
|
|
/// first of all as progress indicator for the user (e.g. during application startup & shutdown).
|
|
|
|
|
/// </summary>
|
2018-02-02 09:18:35 +01:00
|
|
|
|
public interface IRuntimeWindow : ILogObserver, IProgressIndicator, IWindow
|
2018-01-26 12:33:36 +01:00
|
|
|
|
{
|
2018-03-02 15:41:04 +01:00
|
|
|
|
/// <summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
/// Determines whether the application log is visible.
|
2018-03-02 15:41:04 +01:00
|
|
|
|
/// </summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
bool ShowLog { set; }
|
2018-03-02 15:41:04 +01:00
|
|
|
|
|
2018-01-26 12:33:36 +01:00
|
|
|
|
/// <summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
/// Determines whether the progress bar is visible.
|
2018-01-26 12:33:36 +01:00
|
|
|
|
/// </summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
bool ShowProgressBar { set; }
|
2018-02-02 09:18:35 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
/// Determines whether the window will stay on top of other windows.
|
2018-02-02 09:18:35 +01:00
|
|
|
|
/// </summary>
|
2019-05-22 15:16:50 +02:00
|
|
|
|
bool TopMost { set; }
|
2018-01-26 12:33:36 +01:00
|
|
|
|
}
|
|
|
|
|
}
|