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

34 lines
847 B
C#
Raw Normal View History

2017-07-05 11:41:19 +02:00
/*
* 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/.
*/
namespace SafeExamBrowser.Contracts.UserInterface
2017-07-05 11:41:19 +02:00
{
public interface ITaskbar
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Adds the given application button to the taskbar.
/// </summary>
void AddButton(IApplicationButton button);
/// <summary>
/// Moves the taskbar to the given location on the screen.
/// </summary>
void SetPosition(int x, int y);
/// <summary>
/// Sets the size of the taskbar.
/// </summary>
void SetSize(int width, int height);
/// <summary>
/// Displays the taskbar on the screen.
/// </summary>
void Show();
2017-07-05 11:41:19 +02:00
}
}