Restore SEBPatch
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2024 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.UserInterface.Contracts.Proctoring.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates that the full screen state has changed.
|
||||
/// </summary>
|
||||
public delegate void FullScreenChangedEventHandler(bool fullScreen);
|
||||
}
|
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2024 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.UserInterface.Contracts.Proctoring.Events;
|
||||
|
||||
namespace SafeExamBrowser.UserInterface.Contracts.Proctoring
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines the functionality of a proctoring control, i.e. a web view running a WebRTC-enabled web application, which normally is embedded in
|
||||
/// a <see cref="IProctoringWindow"/>.
|
||||
/// </summary>
|
||||
public interface IProctoringControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Event fired when the full screen state changed.
|
||||
/// </summary>
|
||||
event FullScreenChangedEventHandler FullScreenChanged;
|
||||
}
|
||||
}
|
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (c) 2024 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.Proctoring.Contracts.Events;
|
||||
|
||||
namespace SafeExamBrowser.UserInterface.Contracts.Proctoring
|
||||
{
|
||||
/// <summary>
|
||||
/// The dialog to display the status of the proctoring finalization.
|
||||
/// </summary>
|
||||
public interface IProctoringFinalizationDialog
|
||||
{
|
||||
/// <summary>
|
||||
/// Shows the dialog as topmost window.
|
||||
/// </summary>
|
||||
void Show();
|
||||
|
||||
/// <summary>
|
||||
/// Updates the status of the finalization.
|
||||
/// </summary>
|
||||
void Update(RemainingWorkUpdatedEventArgs status);
|
||||
}
|
||||
}
|
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2024 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.UserInterface.Contracts.Windows;
|
||||
|
||||
namespace SafeExamBrowser.UserInterface.Contracts.Proctoring
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines the functionality of a proctoring window.
|
||||
/// </summary>
|
||||
public interface IProctoringWindow : IWindow
|
||||
{
|
||||
/// <summary>
|
||||
/// First moves the window to the background and then hides it after a timeout. This might be necessary to allow the meeting client to
|
||||
/// finish its initialization work and start the microphone as well as the camera before being hidden.
|
||||
/// </summary>
|
||||
void HideWithDelay();
|
||||
|
||||
/// <summary>
|
||||
/// Sets the window title to the given value.
|
||||
/// </summary>
|
||||
void SetTitle(string title);
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the window visibility.
|
||||
/// </summary>
|
||||
void Toggle();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user