2017-08-04 12:19:56 +02:00
|
|
|
|
/*
|
2018-01-16 08:24:00 +01:00
|
|
|
|
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-04 12:19:56 +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-08-04 12:19:56 +02:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Configuration.Settings
|
|
|
|
|
{
|
2018-02-15 15:42:54 +01:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class KeyboardSettings
|
2017-08-04 12:19:56 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the user may use the ALT+TAB shortcut.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public bool AllowAltTab { get; set; }
|
2017-08-04 12:19:56 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the user may use the escape key.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public bool AllowEsc { get; set; }
|
2017-08-04 12:19:56 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the user may use the F5 key.
|
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public bool AllowF5 { get; set; }
|
2017-08-04 12:19:56 +02:00
|
|
|
|
}
|
|
|
|
|
}
|