45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
|
/*
|
|||
|
* Copyright (c) 2019 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.Applications.Contracts.Events;
|
|||
|
using SafeExamBrowser.Core.Contracts;
|
|||
|
|
|||
|
namespace SafeExamBrowser.Applications.Contracts
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Defines a window of an <see cref="IApplication"/>.
|
|||
|
/// </summary>
|
|||
|
public interface IApplicationWindow
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// The icon of the window.
|
|||
|
/// </summary>
|
|||
|
IconResource Icon { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// The title of the window.
|
|||
|
/// </summary>
|
|||
|
string Title { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Event fired when the icon of the window has changed.
|
|||
|
/// </summary>
|
|||
|
event IconChangedEventHandler IconChanged;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Event fired when the title of the window has changed.
|
|||
|
/// </summary>
|
|||
|
event TitleChangedEventHandler TitleChanged;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Brings the window to the foreground and activates it.
|
|||
|
/// </summary>
|
|||
|
void Activate();
|
|||
|
}
|
|||
|
}
|