2017-07-17 16:59:50 +02:00
|
|
|
|
/*
|
2019-01-09 11:25:21 +01:00
|
|
|
|
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
2017-07-17 16:59:50 +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-03-06 16:10:00 +01:00
|
|
|
|
using SafeExamBrowser.Contracts.UserInterface.Shell;
|
2017-07-17 16:59:50 +02:00
|
|
|
|
|
2019-01-23 15:57:49 +01:00
|
|
|
|
namespace SafeExamBrowser.Contracts.Client
|
2017-07-17 16:59:50 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controls the lifetime and functionality of a notification which is part of the <see cref="ITaskbar"/>.
|
|
|
|
|
/// </summary>
|
2017-07-17 16:59:50 +02:00
|
|
|
|
public interface INotificationController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Registers the taskbar notification.
|
|
|
|
|
/// </summary>
|
2019-03-08 11:43:52 +01:00
|
|
|
|
void RegisterNotification(INotificationControl notification);
|
2017-08-02 10:13:23 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Instructs the controller to shut down and release all used resources.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void Terminate();
|
2017-07-17 16:59:50 +02:00
|
|
|
|
}
|
|
|
|
|
}
|