/* * 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.I18n; namespace SafeExamBrowser.Contracts.UserInterface { public interface ISplashScreen { /// /// Closes the splash screen on its own thread. /// void InvokeClose(); /// /// Shows the splash screen on its own thread. /// void InvokeShow(); /// /// Set the maximum of the splash screen's progress bar. /// void SetMaxProgress(int max); /// /// Starts an animation indicating the user that something is going on. /// void StartBusyIndication(); /// /// Stops the busy animation, if it was running. /// void StopBusyIndication(); /// /// Updates the progress bar of the splash screen according to the specified amount. /// void UpdateProgress(int amount = 1); /// /// Updates the status text of the splash screen. /// void UpdateText(Key key); } }