2017-07-05 11:41:19 +02:00
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2017 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-07-28 14:52:15 +02:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Configuration.Settings
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2017-07-06 18:18:39 +02:00
|
|
|
|
public interface ISettings
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2017-08-07 12:23:56 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the user may access the application log during runtime.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool AllowApplicationLog { get; }
|
|
|
|
|
|
2017-09-13 08:33:12 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Determines whether the user may switch the keyboard layout during runtime.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool AllowKeyboardLayout { get; }
|
|
|
|
|
|
2017-07-26 08:50:36 +02:00
|
|
|
|
/// <summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
/// The name used for the application data folder.
|
2017-07-26 08:50:36 +02:00
|
|
|
|
/// </summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
string AppDataFolderName { get; }
|
2017-07-26 08:50:36 +02:00
|
|
|
|
|
2017-07-24 17:31:28 +02:00
|
|
|
|
/// <summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
/// The file path under which the application log is to be stored.
|
2017-07-24 17:31:28 +02:00
|
|
|
|
/// </summary>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
string ApplicationLogFile { get; }
|
2017-07-24 17:31:28 +02: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>
|
2017-07-28 14:52:15 +02:00
|
|
|
|
IBrowserSettings Browser { get; }
|
2017-07-26 08:50:36 +02:00
|
|
|
|
|
2017-08-04 12:19:56 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All keyboard-related settings.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IKeyboardSettings Keyboard { get; }
|
|
|
|
|
|
2017-08-04 15:20:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// All mouse-related settings.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IMouseSettings Mouse { get; }
|
|
|
|
|
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// <summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
/// The path where the log files are to be stored.
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
string LogFolderPath { get; }
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
/// The copyright information for the application (i.e. the executing assembly).
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
string ProgramCopyright { get; }
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
/// The program title of the application (i.e. the executing assembly).
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
string ProgramTitle { get; }
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-07-14 10:28:59 +02:00
|
|
|
|
/// The program version of the application (i.e. the executing assembly).
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2017-07-10 15:47:12 +02:00
|
|
|
|
string ProgramVersion { get; }
|
2017-07-28 14:52:15 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A string uniquely identifying the runtime of the application, used e.g. for the log file names.
|
|
|
|
|
/// </summary>
|
|
|
|
|
string RuntimeIdentifier { get; }
|
2017-07-05 11:41:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|