seb-win-refactoring/SafeExamBrowser.Contracts/Configuration/Settings/ISettings.cs

74 lines
2 KiB
C#
Raw Normal View History

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
{
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; }
/// <summary>
/// Determines whether the user may switch the keyboard layout during runtime.
/// </summary>
bool AllowKeyboardLayout { get; }
/// <summary>
2017-07-28 14:52:15 +02:00
/// The name used for the application data folder.
/// </summary>
2017-07-28 14:52:15 +02:00
string AppDataFolderName { get; }
/// <summary>
2017-07-28 14:52:15 +02:00
/// The file path under which the application log is to be stored.
/// </summary>
2017-07-28 14:52:15 +02:00
string ApplicationLogFile { get; }
/// <summary>
2017-07-28 14:52:15 +02:00
/// All browser-related settings.
/// </summary>
2017-07-28 14:52:15 +02:00
IBrowserSettings Browser { get; }
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; }
/// <summary>
/// The path where the log files are to be stored.
/// </summary>
string LogFolderPath { get; }
/// <summary>
/// The copyright information for the application (i.e. the executing assembly).
/// </summary>
string ProgramCopyright { get; }
/// <summary>
/// The program title of the application (i.e. the executing assembly).
/// </summary>
string ProgramTitle { get; }
/// <summary>
/// The program version of the application (i.e. the executing assembly).
/// </summary>
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
}
}