/* * Copyright (c) 2022 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 System; using System.Collections.Generic; using SafeExamBrowser.SystemComponents.Contracts.Keyboard.Events; namespace SafeExamBrowser.SystemComponents.Contracts.Keyboard { /// /// Defines the functionality of the keyboard system component. /// public interface IKeyboard : ISystemComponent { /// /// Fired when the active keyboard layout changed. /// event LayoutChangedEventHandler LayoutChanged; /// /// Activates the keyboard layout with the given identifier. /// void ActivateLayout(Guid id); /// /// Gets all currently available keyboard layouts. /// IEnumerable GetLayouts(); } }