2017-07-07 15:46:32 +02:00
|
|
|
|
/*
|
2018-01-16 08:24:00 +01:00
|
|
|
|
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
|
2017-07-07 15:46:32 +02: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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-07-12 15:36:30 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.Configuration;
|
2017-07-28 14:52:15 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.Configuration.Settings;
|
2017-07-19 14:43:54 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.I18n;
|
2017-08-07 12:23:56 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.Logging;
|
2017-08-15 15:30:31 +02:00
|
|
|
|
using SafeExamBrowser.Contracts.UserInterface.Taskbar;
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Contracts.UserInterface
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2017-07-27 14:45:54 +02:00
|
|
|
|
public interface IUserInterfaceFactory : IMessageBox
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2017-08-02 10:13:23 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new about window displaying information about the currently running application version.
|
|
|
|
|
/// </summary>
|
2018-01-17 14:08:39 +01:00
|
|
|
|
IWindow CreateAboutWindow(IRuntimeInfo runtimeInfo, IText text);
|
2017-08-02 10:13:23 +02:00
|
|
|
|
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a taskbar button, initialized with the given application information.
|
|
|
|
|
/// </summary>
|
2017-08-15 15:30:31 +02:00
|
|
|
|
IApplicationButton CreateApplicationButton(IApplicationInfo info);
|
2017-07-17 16:59:50 +02:00
|
|
|
|
|
2017-07-24 17:31:28 +02:00
|
|
|
|
/// <summary>
|
2017-07-31 20:22:53 +02:00
|
|
|
|
/// Creates a new browser window loaded with the given browser control and settings.
|
2017-07-24 17:31:28 +02:00
|
|
|
|
/// </summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
IBrowserWindow CreateBrowserWindow(IBrowserControl control, IBrowserSettings settings);
|
2017-07-24 17:31:28 +02:00
|
|
|
|
|
2017-08-07 12:23:56 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new log window which runs on its own thread.
|
|
|
|
|
/// </summary>
|
2017-08-11 10:22:09 +02:00
|
|
|
|
IWindow CreateLogWindow(ILogger logger, IText text);
|
2017-08-07 12:23:56 +02:00
|
|
|
|
|
2017-07-19 14:43:54 +02:00
|
|
|
|
/// <summary>
|
2017-07-24 15:29:17 +02:00
|
|
|
|
/// Creates a taskbar notification, initialized with the given notification information.
|
2017-07-19 14:43:54 +02:00
|
|
|
|
/// </summary>
|
2017-08-15 15:30:31 +02:00
|
|
|
|
INotificationButton CreateNotification(INotificationInfo info);
|
|
|
|
|
|
2017-09-13 08:33:12 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a system control which allows to change the keyboard layout of the computer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
ISystemKeyboardLayoutControl CreateKeyboardLayoutControl();
|
|
|
|
|
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a system control displaying the power supply status of the computer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
ISystemPowerSupplyControl CreatePowerSupplyControl();
|
2017-07-19 14:43:54 +02:00
|
|
|
|
|
2018-01-30 14:41:36 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a new runtime window which runs on its own thread.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
IRuntimeWindow CreateRuntimeWindow(IRuntimeInfo runtimeInfo, IText text);
|
|
|
|
|
|
2017-07-17 16:59:50 +02:00
|
|
|
|
/// <summary>
|
2017-07-24 15:29:17 +02:00
|
|
|
|
/// Creates a new splash screen which runs on its own thread.
|
2017-07-17 16:59:50 +02:00
|
|
|
|
/// </summary>
|
2018-01-17 14:08:39 +01:00
|
|
|
|
ISplashScreen CreateSplashScreen(IRuntimeInfo runtimeInfo, IText text);
|
2017-11-13 10:26:30 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates a system control which allows to change the wireless network connection of the computer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
ISystemWirelessNetworkControl CreateWirelessNetworkControl();
|
2017-07-07 15:46:32 +02:00
|
|
|
|
}
|
|
|
|
|
}
|