seb-win-refactoring/SafeExamBrowser.Contracts/UserInterface/IUiElementFactory.cs

32 lines
1 KiB
C#
Raw Normal View History

/*
* Copyright (c) 2017 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.Configuration;
using SafeExamBrowser.Contracts.I18n;
namespace SafeExamBrowser.Contracts.UserInterface
{
2017-07-24 15:29:17 +02:00
public interface IUiElementFactory : IMessageBox
{
/// <summary>
/// Creates a taskbar button, initialized with the given application information.
/// </summary>
ITaskbarButton CreateApplicationButton(IApplicationInfo info);
/// <summary>
2017-07-24 15:29:17 +02:00
/// Creates a taskbar notification, initialized with the given notification information.
/// </summary>
2017-07-24 15:29:17 +02:00
ITaskbarNotification CreateNotification(INotificationInfo info);
/// <summary>
2017-07-24 15:29:17 +02:00
/// Creates a new splash screen which runs on its own thread.
/// </summary>
2017-07-24 15:29:17 +02:00
ISplashScreen CreateSplashScreen(ISettings settings, IText text);
}
}