/*
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
*
* 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 System;
using SafeExamBrowser.Contracts.Logging;
namespace SafeExamBrowser.Contracts.Configuration.Settings
{
///
/// Defines all configuration options for the application.
///
[Serializable]
public class Settings
{
///
/// All action center-related settings.
///
public ActionCenterSettings ActionCenter { get; set; }
///
/// The hash code of the administrator password for the settings.
///
public string AdminPasswordHash { get; set; }
///
/// The mode which determines the configuration behaviour.
///
public ConfigurationMode ConfigurationMode { get; set; }
///
/// All browser-related settings.
///
public BrowserSettings Browser { get; set; }
///
/// All keyboard-related settings.
///
public KeyboardSettings Keyboard { get; set; }
///
/// The kiosk mode which determines how the computer is locked down.
///
public KioskMode KioskMode { get; set; }
///
/// The global log severity to be used.
///
public LogLevel LogLevel { get; set; }
///
/// All mouse-related settings.
///
public MouseSettings Mouse { get; set; }
///
/// The hash code of the quit password.
///
public string QuitPasswordHash { get; set; }
///
/// The active policy for the service component.
///
public ServicePolicy ServicePolicy { get; set; }
///
/// All taskbar-related settings.
///
public TaskbarSettings Taskbar { get; set; }
///
/// The mode which determines the look & feel of the user interface.
///
public UserInterfaceMode UserInterfaceMode { get; set; }
public Settings()
{
ActionCenter = new ActionCenterSettings();
Browser = new BrowserSettings();
Keyboard = new KeyboardSettings();
Mouse = new MouseSettings();
Taskbar = new TaskbarSettings();
}
}
}