2017-07-05 11:41:19 +02:00
|
|
|
|
/*
|
2018-01-16 08:24:00 +01:00
|
|
|
|
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
|
2017-07-05 11:41:19 +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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-02-15 15:42:54 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
2017-07-28 14:52:15 +02:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Configuration.Settings
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2018-02-15 15:42:54 +01:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class Settings
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2018-01-19 09:23:09 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The mode which determines the configuration behaviour.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public ConfigurationMode ConfigurationMode { get; set; }
|
2018-01-19 09:23:09 +01:00
|
|
|
|
|
2017-07-26 08:50:36 +02:00
|
|
|
|
/// <summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
/// All browser-related settings.
|
2017-07-26 08:50:36 +02:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public BrowserSettings Browser { get; set; }
|
2017-07-26 08:50:36 +02:00
|
|
|
|
|
2017-08-04 12:19:56 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All keyboard-related settings.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public KeyboardSettings Keyboard { get; set; }
|
2017-08-04 12:19:56 +02:00
|
|
|
|
|
2018-01-30 14:41:36 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The kiosk mode which determines how the computer is locked down.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public KioskMode KioskMode { get; set; }
|
2018-01-30 14:41:36 +01:00
|
|
|
|
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// <summary>
|
2017-11-09 10:27:55 +01:00
|
|
|
|
/// All mouse-related settings.
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public MouseSettings Mouse { get; set; }
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
2018-01-24 12:34:32 +01:00
|
|
|
|
/// <summary>
|
2018-01-30 14:41:36 +01:00
|
|
|
|
/// The active policy for the service component.
|
2018-01-24 12:34:32 +01:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public ServicePolicy ServicePolicy { get; set; }
|
2018-01-24 12:34:32 +01:00
|
|
|
|
|
2017-11-09 10:27:55 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All taskbar-related settings.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public TaskbarSettings Taskbar { get; set; }
|
|
|
|
|
|
|
|
|
|
public Settings()
|
|
|
|
|
{
|
|
|
|
|
Browser = new BrowserSettings();
|
|
|
|
|
Keyboard = new KeyboardSettings();
|
|
|
|
|
Mouse = new MouseSettings();
|
|
|
|
|
Taskbar = new TaskbarSettings();
|
|
|
|
|
}
|
2017-07-05 11:41:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|