/*
* 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 SafeExamBrowser.Contracts.Communication.Proxies;
using SafeExamBrowser.Contracts.Configuration;
using SafeExamBrowser.Contracts.Configuration.Settings;
using SafeExamBrowser.Contracts.WindowsApi;
namespace SafeExamBrowser.Runtime
{
///
/// Holds all configuration and runtime data required for the session handling.
///
internal class SessionContext
{
///
/// The currently active .
///
public KioskMode? ActiveMode { get; set; }
///
/// The currently running client process.
///
public IProcess ClientProcess { get; set; }
///
/// The communication proxy for the currently running client process.
///
public IClientProxy ClientProxy { get; set; }
///
/// The configuration of the currently active session.
///
public ISessionConfiguration Current { get; set; }
///
/// The new desktop, if is currently active.
///
public IDesktop NewDesktop { get; set; }
///
/// The configuration of the next session to be activated.
///
public ISessionConfiguration Next { get; set; }
///
/// The original desktop, if is currently active.
///
public IDesktop OriginalDesktop { get; set; }
///
/// The path of the configuration file to be used for reconfiguration.
///
public string ReconfigurationFilePath { get; set; }
}
}