/*
* Copyright (c) 2022 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 System;
using SafeExamBrowser.Applications.Contracts.Events;
using SafeExamBrowser.Core.Contracts.Resources.Icons;
namespace SafeExamBrowser.Applications.Contracts
{
///
/// Defines a window of an .
///
public interface IApplicationWindow
{
///
/// The native handle of the window.
///
IntPtr Handle { get; }
///
/// The icon of the window.
///
IconResource Icon { get; }
///
/// The title of the window.
///
string Title { get; }
///
/// Event fired when the icon of the window has changed.
///
event IconChangedEventHandler IconChanged;
///
/// Event fired when the title of the window has changed.
///
event TitleChangedEventHandler TitleChanged;
///
/// Brings the window to the foreground and activates it.
///
void Activate();
}
}