/* * Copyright (c) 2018 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.Taskbar { /// /// Defines the functionality of the application taskbar. The taskbar is the main user interface element via which the user can access /// the browser, third-party applications, system controls and so on. /// public interface ITaskbar { /// /// Event fired when the user clicked the quit button in the taskbar. /// event QuitButtonClickedEventHandler QuitButtonClicked; /// /// Adds the given application button to the taskbar. /// void AddApplication(IApplicationButton button); /// /// Adds the given notification button to the taskbar. /// void AddNotification(INotificationButton button); /// /// Adds the given system control to the taskbar. /// void AddSystemControl(ISystemControl control); /// /// Closes the taskbar. /// void Close(); /// /// Returns the absolute height of the taskbar (i.e. in physical pixels). /// int GetAbsoluteHeight(); /// /// Moves the taskbar to the bottom of and resizes it according to the current working area. /// void InitializeBounds(); } }