/*
* 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.SystemComponents;
using SafeExamBrowser.Contracts.UserInterface.Shell.Events;
namespace SafeExamBrowser.Contracts.UserInterface.Shell
{
///
/// The control of the keyboard layout system component.
///
public interface ISystemKeyboardLayoutControl : ISystemControl
{
///
/// Event fired when the user selected a keyboard layout.
///
event KeyboardLayoutSelectedEventHandler LayoutSelected;
///
/// Adds the given layout to the list of selectable keyboard layouts.
///
void Add(IKeyboardLayout layout);
}
}