seb-win-refactoring/SafeExamBrowser.Contracts/SystemComponents/ISystemComponent.cs

26 lines
810 B
C#
Raw Normal View History

/*
* Copyright (c) 2018 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.UserInterface.Taskbar;
namespace SafeExamBrowser.Contracts.SystemComponents
{
public interface ISystemComponent<TControl> where TControl : ISystemControl
{
/// <summary>
/// Initializes the resources and operations of the component and registers its taskbar control.
/// </summary>
void Initialize(TControl control);
/// <summary>
/// Instructs the component to stop any running operations and releases all used resources.
/// </summary>
void Terminate();
}
}