2017-07-19 14:43:54 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2017-07-19 14:43:54 +02:00
|
|
|
|
*
|
|
|
|
|
* 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-09-05 09:00:41 +02:00
|
|
|
|
namespace SafeExamBrowser.Monitoring.Contracts.Keyboard
|
2017-07-19 14:43:54 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Intercepts all keyboard input (except the Secure Attention Sequence: https://en.wikipedia.org/wiki/Secure_attention_key).
|
|
|
|
|
/// </summary>
|
2017-07-19 14:43:54 +02:00
|
|
|
|
public interface IKeyboardInterceptor
|
|
|
|
|
{
|
2017-08-03 15:35:22 +02:00
|
|
|
|
/// <summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
/// Starts intercepting keyboard input.
|
2017-08-03 15:35:22 +02:00
|
|
|
|
/// </summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
void Start();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Stops intercepting keyboard input.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void Stop();
|
2017-07-19 14:43:54 +02:00
|
|
|
|
}
|
|
|
|
|
}
|