Update Safe Exam Browser Patch to 3.10.0.826
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2025 ETH Zürich, IT Services
|
||||
*
|
||||
* 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/.
|
||||
*/
|
||||
|
||||
namespace SafeExamBrowser.Server.Contracts.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// The default event handler for invigilation events.
|
||||
/// </summary>
|
||||
public delegate void InvigilationEventHandler();
|
||||
}
|
49
SafeExamBrowser.Server.Contracts/IInvigilator.cs
Normal file
49
SafeExamBrowser.Server.Contracts/IInvigilator.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (c) 2025 ETH Zürich, IT Services
|
||||
*
|
||||
* 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.Server.Contracts.Events;
|
||||
using SafeExamBrowser.Settings.Server;
|
||||
|
||||
namespace SafeExamBrowser.Server.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides invigilation functionality for server sessions.
|
||||
/// </summary>
|
||||
public interface IInvigilator
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates whether the hand is currently raised.
|
||||
/// </summary>
|
||||
bool IsHandRaised { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Fired when the hand has been lowered.
|
||||
/// </summary>
|
||||
event InvigilationEventHandler HandLowered;
|
||||
|
||||
/// <summary>
|
||||
/// Fired when the hand has been raised.
|
||||
/// </summary>
|
||||
event InvigilationEventHandler HandRaised;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes the invigilation functionality according to the given settings.
|
||||
/// </summary>
|
||||
void Initialize(InvigilationSettings settings);
|
||||
|
||||
/// <summary>
|
||||
/// Lowers the hand.
|
||||
/// </summary>
|
||||
void LowerHand();
|
||||
|
||||
/// <summary>
|
||||
/// Raises the hand, optionally with the given message.
|
||||
/// </summary>
|
||||
void RaiseHand(string message = default);
|
||||
}
|
||||
}
|
@@ -57,6 +57,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Data\ConnectionInfo.cs" />
|
||||
<Compile Include="Data\Exam.cs" />
|
||||
<Compile Include="Events\InvigilationEventHandler.cs" />
|
||||
<Compile Include="Events\LockScreenRequestedEventHandler.cs" />
|
||||
<Compile Include="Events\Proctoring\InstructionMethod.cs" />
|
||||
<Compile Include="Events\Proctoring\JitsiMeetInstruction.cs" />
|
||||
@@ -67,6 +68,7 @@
|
||||
<Compile Include="Events\Proctoring\ZoomInstruction.cs" />
|
||||
<Compile Include="Events\ServerEventHandler.cs" />
|
||||
<Compile Include="Events\TerminationRequestedEventHandler.cs" />
|
||||
<Compile Include="IInvigilator.cs" />
|
||||
<Compile Include="IServerProxy.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Data\ServerResponse.cs" />
|
||||
|
Reference in New Issue
Block a user