2017-08-15 15:30:31 +02:00
|
|
|
|
/*
|
2018-01-16 08:24:00 +01:00
|
|
|
|
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-15 15:30:31 +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/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using SafeExamBrowser.Contracts.UserInterface.Taskbar;
|
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Contracts.SystemComponents
|
|
|
|
|
{
|
|
|
|
|
public interface ISystemComponent<TControl> where TControl : ISystemControl
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-08-17 12:17:58 +02:00
|
|
|
|
/// Initializes the resources and operations of the component and registers its taskbar control.
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// </summary>
|
2017-08-17 12:17:58 +02:00
|
|
|
|
void Initialize(TControl control);
|
2017-08-15 15:30:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-08-17 12:17:58 +02:00
|
|
|
|
/// Instructs the component to stop any running operations and releases all used resources.
|
2017-08-15 15:30:31 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
void Terminate();
|
|
|
|
|
}
|
|
|
|
|
}
|